OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: VipNatePimp on 27 Sep 2003, 17:18:06

Title: One Person Trigger?
Post by: VipNatePimp on 27 Sep 2003, 17:18:06
How do you make a specially unit activate a trigger when he enters it. Not a side, like east present but somthing like player present, exec "die.sqs"
Title: Re:One Person Trigger?
Post by: KyleSarnik on 27 Sep 2003, 17:25:37
make the trigger activated by anybody and in the condition type player in thislist and in activation exec "die.sqs" (using your example)
Title: Re:One Person Trigger?
Post by: Knut Erik on 27 Sep 2003, 17:25:40
Put this in the condicion field of the trigger ..

NameOfUnit in Thislist

The activaton must be set to the side witch the unit is on..

If the unit is on west side, the trigger must be set to activate on "West Pressent"

 8)

*edit*
ahh.. to slow  :P
Title: Re:One Person Trigger?
Post by: KyleSarnik on 27 Sep 2003, 17:26:13
lol I beat you by 3 seconds  ;D
Title: Re:One Person Trigger?
Post by: GrimMonkey on 27 Sep 2003, 17:29:58
Or you can select F2 (GROUP) and drag a line from desired player and hook it with the trigger. F2, not F5 (SYNCH). Now only he can use the trigger.

You'll notice that where you'd usually see 'West/East/Resistance blah' is now 'Any Member of Group/Group Leader blah' well, that means it works!


Beware the GrimMonkey
Title: Re:One Person Trigger?
Post by: VipNatePimp on 29 Sep 2003, 15:53:47
 ;Dkool GrimMonkey thats an easy way to do it tankx. But what EXACTY is a thislist I have heard somthing about it, but I don't where it is located or what it EXACTLY does... is it like a init.sqs? ???

Thanx
Title: Re:One Person Trigger?
Post by: GrimMonkey on 29 Sep 2003, 16:47:40
http://www.ofpec.com/yabbse/index.php?board=6;action=display;threadid=12706

I had the same question, but SheepOnMintSauce explained it to me.


Beware the GrimMonkey