Jump to content
Sign in to follow this  
jamjuice187

Trigger for "all in vehicle"

Recommended Posts

G'day,

I'm just starting out with the editor and I'm having trouble making a pretty simple trigger.

I want the trigger to fire once my 5 man squad (alpha1) all climb into the back of a blackhawk (blackhawk_1)

 

I tried typing "alpha1 in blackhawk_1" under trigger conditions, but it just gives me an error 

What should I type in the trigger?

Share this post


Link to post
Share on other sites

I got it to work!

That was way more complicated than I thought. 

I would have never worked that out on my own!

Many thanks.

Share this post


Link to post
Share on other sites

No worries. Broken down into it's simplest form it's just:

({_x in _vehicle} count (units _group)) == (count (units _group))

But including an alive check like they did in the link is a good idea too.

https://community.bistudio.com/wiki/in

https://community.bistudio.com/wiki/count

https://community.bistudio.com/wiki/units

All the command references there.

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  

×