Jump to content
Sign in to follow this  
zootia

Trigger activation on specific unit.

Recommended Posts

I did a search on this, but didn't really find anything helpful.

I need to set a trigger for End #1 on a crowded location. So I cant just say when bluefor is present, because it will end the mission right away.

The mission is a convoy escort mission, so I want the trigger to go off when a specific unit hits it. (in this case units c1 or c2 or c3 or c4)

Anyone of the units can hit the trigger to activate it, because the mission requires you to get at least one vehicle through.

What should I write in the condition box?

Share this post


Link to post
Share on other sites

in your init.sqs write:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

clist = [c1,c2,c3,c4]

in the triggers condition put

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

({_x in clist} count thislist) >= 1

the other triggers options:

bluefor

present

repeatedly

end#1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×