Playing animation when entering region

Status
Not open for further replies.
Level 2
Joined
Oct 18, 2004
Messages
16
What I'm trying to achieve is when a unit(infernal) enters a region i want him to do some sort of animation, any animation will work for now because if i get the code right then i can just change which animation he does. Heres my current code. It does not work. Any Suggestions? I don't mind if the whole code has to start from scratch.

  • P1
    • Events
      • Unit - A unit enters Pause 1 <gen>
    • Conditions
    • Actions
      • Animation - Play Infernal[(Custom value of (Entering unit))]'s Stand 2 animation
      • Wait 2.00 seconds
      • Unit - Order (Entering unit) to Move To (Center of 02 <gen>)
 
wow so simple, yet it worked! thanks!!
if anyone else reads this thread looking for an answer this is the code that works for me.(entering and triggering unit is the same unit here, when i deal with multiple units i use entering unit because you cant trigger two units at the same time)
  • Events
    • Unit - A unit enters Pause 1 <gen>
  • Conditions
  • Actions
    • Unit - Order (Triggering unit) to Stop
    • Animation - Play Infernal[(Custom value of (Entering unit))]'s Stand 2 animation
    • Wait 2.00 seconds
    • Unit - Order (Entering unit) to Move To (Center of 02 <gen>)
 
Status
Not open for further replies.
Back
Top