Loading and Unloading an Automatic Ship

Lghtofthmoon

New Member
Reaction score
0
The idea behind this trigger is to have a Hero automatically transported to a new location after "buying" (it's free) a ship.The ship's names are their transport routes. For some reason, after heading a few seconds towards the destination, the ships just stop. Any ideas? :confused:

Trigger:
  • To Defiled Graveyard
    • Events
      • Unit - A unit Sells a unit
    • Conditions
      • (Unit-type of (Sold unit)) Equal to Transport to Defiled Graveyard
    • Actions
      • Camera - Lock camera target for (Owner of (Buying unit)) to (Sold unit), offset by (0.00, 0.00) using Default rotation
      • Cinematic - Disable user control for (All players matching ((Matching player) Equal to (Owner of (Sold unit))))
      • Unit Group - Pick every unit in (Units owned by (Owner of (Buying unit)) of type Transport to Defiled Graveyard) and do (Unit - Order (Picked unit) to Load (Buying unit))
      • Wait until (((Buying unit) is being transported) Equal to True), checking every 0.50 seconds
      • Unit - Order (Sold unit) to Unload All At (Center of Defiled Graveyard Landing <gen>)
      • Wait until ((Defiled Graveyard Landing <gen> contains (Buying unit)) Equal to True), checking every 0.50 seconds
      • Camera - Reset camera for (Owner of (Buying unit)) to standard game-view over 0.00 seconds
      • Cinematic - Enable user control for (All players matching ((Matching player) Equal to (Owner of (Sold unit))))
      • Wait 1.00 seconds
      • Unit - Remove (Sold unit) from the game


If anyone has a better idea for an automatic transit system, please post. + rep, Thanks!
 

Lghtofthmoon

New Member
Reaction score
0
I've never had a problem with leaks... If it was a leak would it still happen every time? :confused: Maybe I should just scrap this whole idea.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top