top

trigger activated only by selected units

 
Post new topic   Reply to topic    [LOL] ArmA OFP Site Forum Index -> Mission Plans
View previous topic :: View next topic  
Author Message
Snake
Virgin Poster
Virgin Poster


Joined: 07 Oct 2011
Posts: 51
Location: IL, USA

PostPosted: Thu Dec 01, 2011 2:03 am    Post subject: trigger activated only by selected units Reply with quote

How do I make a trigger, that is activated only by selected units of a faction?

For example a trigger will be activated only if East unit1 or East unit2 enters the area of the trigger, but not by any other unit of East side?

Thanks :)
Back to top
View user's profile Send private message
Zulu1
Amateur Poster
Amateur Poster


Joined: 30 Oct 2009
Posts: 161

PostPosted: Thu Dec 01, 2011 3:17 am    Post subject: Reply with quote

Snake,

If you want a trigger to activate by a particular unit (or group), use the group button in the editor (F2) and drag a line from the trigger to the unit or leader of the group. This will give you new activation options in the trigger. So now open the trigger that you group to and in the activation box you can pick
"whole group"
"group leader"
"any member of group"

One of several poorly documented features Smile

Hope it helps.
Back to top
View user's profile Send private message
Mr.Peanut
Gerbil Repository


Joined: 04 Jun 2004
Posts: 4170
Location: Halifax, Canada

PostPosted: Thu Dec 01, 2011 3:43 pm    Post subject: Reply with quote

This method is not recommended for player groups in MP. IIRC, if no one takes the leader slot, the trigger will not fire. Can not remember if this happens for all options or just the "group leader" option.
_________________
Sent from my handheld deviceless wire
Back to top
View user's profile Send private message Send e-mail
Zulu1
Amateur Poster
Amateur Poster


Joined: 30 Oct 2009
Posts: 161

PostPosted: Thu Dec 01, 2011 3:52 pm    Post subject: Reply with quote

As an alternate method you could use distance in a condition statement.

MyGuy Distance Object1 < 3

MyGuy Distance WP1 < 10

and so on.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    [LOL] ArmA OFP Site Forum Index -> Mission Plans All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group