Home   Help Search Login Register  

Author Topic: Triggers attached to moving objects?  (Read 509 times)

0 Members and 1 Guest are viewing this topic.

SpecOpWarrior

  • Guest
Triggers attached to moving objects?
« on: 24 May 2003, 20:53:34 »
I wanted to make a trigger follow behind somebody, and inside that trigger set it to : West, Present.

On Activation: guard1 switchmove FXStandSur

(He surrenders putting hands over head)


And so if you sneak up in back of him he yells I SURRENDER!

One problem, if the unit moves, how will the trigger move with him?

Kaliyuga

  • Guest
Re:Triggers attached to moving objects?
« Reply #1 on: 24 May 2003, 21:27:21 »
 Hows about you set up a condition on your trigger utilizing the distance command ;)

something like

naming your group of west guys g with:   g=group this

then in the condition field of your trigger use this:

g distance guard1 <2

same activation


 you could of course substitute g    for any other units name or ID

 and I'm sure there must be a way to make it to where anyone on the

West/East side coming within x meters causes the trigger to go off.. I'm

just not positive on the syntax for that one ;)

:cheers: