Home   Help Search Login Register  

Author Topic: Trigger A activating trigger B... How???  (Read 548 times)

0 Members and 1 Guest are viewing this topic.

Gumby

  • Guest
Trigger A activating trigger B... How???
« on: 19 Feb 2003, 22:31:43 »
Hey..

I got at problem, probably small.. But I do not know how to solve it..
I want to make an external script, which makes to trigger interact.

For instance:
I want an effect (i.e. killing a unit) taking place inside trigger A, to activate Trigger B, which then would make a man walk for instance..

I have tried to create a loop, which when activated would allow the man to walk. Either he did not move or he moved inspite of trigger A was inactive.

Does anybody have a suggestion.????

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:Trigger A activating trigger B... How???
« Reply #1 on: 19 Feb 2003, 23:31:17 »
you need to put this in the condition field of the first trigger

!alive unitname

and this in the onactivation field

dead = true

in the second triggers condition field put

dead

now you need synchronize the second trigger to the waypoints of the guy who is going walk along, press F5 (I think, check though its at the top of the editor where waypoints and groups are) and drag a line from the trigger to the first waypoint of the fella who's got to go walking.  :)


good luck

Gumby

  • Guest
Re:Trigger A activating trigger B... How???
« Reply #2 on: 19 Feb 2003, 23:55:02 »

THX...

I had the first part correct...
I just did not know about the second condition field... thx..

In " dead = true"  ..   Is "dead" a variabel I can define myself, to what ever I want to call it????

for instance     " christmastree = true" ???