1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. We have recently started the 16th edition of the Mini Mapping Contest. The theme is mini RPG. Do check it out and have fun.
    Dismiss Notice
  4. Choose your ride to damnation in the 5th Special Effect Contest Poll.
    Dismiss Notice
  5. The winners of the 13th Techtree Contest have been announced!
    Dismiss Notice
  6. Vote for the best entries in the 13th Music Contest Poll.
    Dismiss Notice
  7. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

checking if a unit has finished with an order/if a unit is idle

Discussion in 'World Editor Help Zone' started by foamy125, Jul 13, 2008.

  1. foamy125

    foamy125

    Joined:
    Aug 30, 2007
    Messages:
    18
    Resources:
    0
    Resources:
    0
    I need to find out how to check if a unit is idle or has finished an order you've given it because my friend is making(he's Han Han on the forums, he doesnt seem to want to ask him self, so im doing it for him :p) a map and wants to make the planes move in circles when its idle. So far the only way thats worked is with an ability that makes stealth units go unsteath, units wont auto attack when there like this and you need to take the move in formation thing off for them all to do it when you order a group to move. We've tried many different things but none of them have worked in the way we want. Help would be greatly appreciated.
     
  2. Razorbrain

    Razorbrain

    Joined:
    Aug 18, 2006
    Messages:
    1,165
    Resources:
    1
    Maps:
    1
    Resources:
    1
    this is just a guess, but i would say that it doesnt actually have an order

    the make things easier, this is what i mean

    (Current order of (Whatever unit)) Equal to (Order())

    im not sure this works, but you can atleast try :p
     
  3. foamy125

    foamy125

    Joined:
    Aug 30, 2007
    Messages:
    18
    Resources:
    0
    Resources:
    0
    i think i've found a way to do this, but i'm not sure if it will work, i was thinking that shadow meld could be used as the method of detecting the units idleness, you would have the trigger detect if the unit was under the buff of shadowmeld and have the trigger work off that, and seeing as the planes are never realy supose to be stationary, they wont be stealthed long enough for it to make a massive difference in hitting them. since i dont know to much about triggering, i have to wait for my friend to come online and test it, so if someone could put some input before that, that'd be awsome.