Jump to content
Sign in to follow this  
norbre

group in vehicle trigger problem

Recommended Posts

hi,

I'd like a trigger what is activating when all living member of a group is in a vehicle.

I've tried this:

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

but it is not working because the 'in' needs player type

Anybody has a good idea?

Share this post


Link to post
Share on other sites

You can't evaluate whole groups when using in. Try this as a condition:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">{_X in (crew extract_heli)} count (units group player) >= {alive _X} count (units group player)

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  

×