Why doesn't this simple trigger work?

Status
Not open for further replies.
Level 22
Joined
Jan 10, 2005
Messages
3,426
  • Wolf Actor Move I
    • Events
      • Unit - A unit enters Intro Black Wolf I <gen>
    • Conditions
      • (Triggering unit) Equal to Black Wolf (Actor) 0051 <gen>
    • Actions
      • Trigger - Turn off (This trigger)
      • Animation - Change (Triggering unit)'s animation speed to 33.00% of its original speed
      • Unit - Order (Triggering unit) to Move To (Center of Intro Black Wolf II <gen>)
I'm sure the unit is entering the correct region, because the ''Unit - Order to Move'' does work.
 
Level 3
Joined
Jun 12, 2009
Messages
38
So switching positions of the actions here doesn't matter?
Try to execute that action from another trigger (by running it from that one).. it might do it (I actually do not know if that makes any difference, but I would do that xD)
 
It's because you have to: create variable for triggering unit and than: Change VariableUnit anim speed to 0% should work properly.

GUI doesn't support this action, although you can even change triggering unit into: Black Wolf in anim speed action and you gona see it works.
In my map i have like 33 units that play death anim and their anim is set to 0% speed after 3 sec so they look like dead ;).
 
Level 11
Joined
Aug 6, 2009
Messages
697
  • Events
    • Unit - A unit enters Your Region <gen>
  • Conditions
    • (Unit-type of (Triggering unit)) Equal to Footman
  • Actions
    • Set SendPoint = (Center of Sent Region <gen>)
    • Set Unit = (Entering unit)
    • Animation - Change Unit's animation speed to 33.00% of its original speed
    • Unit - Order Unit to Move To SendPoint
    • Custom script: call RemoveLocation (udg_SendPoint)
 
  • Events
    • Unit - A unit enters Your Region <gen>
  • Conditions
    • (Unit-type of (Triggering unit)) Equal to Footman
  • Actions
    • Set SendPoint = (Center of Sent Region <gen>)
    • Set Unit = (Entering unit)
    • Animation - Change Unit's animation speed to 33.00% of its original speed
    • Unit - Order Unit to Move To SendPoint
    • Custom script: call RemoveLocation (udg_SendPoint)

Problem solven already man :grin:
 
Status
Not open for further replies.
Top