Jump to content
Sign in to follow this  
wiggum2

count thislist question

Recommended Posts

Hi,

i have a trigger (OPFOR - Present) with this as condition:

(count thislist < 5)

This works well, if there are less then 5 OPFOR's in the trigger area then the trigger fires.

But now i also want to check if there are more then 2 members of mygroup inside the trigger area, only if this is also true the trigger should fire.

So i tried:

(count thislist < 5) AND ({_x in thislist} count units mygroup > 1)

But it does not work, any ideas ?

Share this post


Link to post
Share on other sites

Is your group a west group or a east group?

If your are a west group, then your units will not be member of thislist because you set the trigger to (OPFOR present).

Share this post


Link to post
Share on other sites
Is your group a west group or a east group?

If your are a west group, then your units will not be member of thislist because you set the trigger to (OPFOR present).

So now way to do this with one trigger ?

Share this post


Link to post
Share on other sites

Set side to anyone and condition to ({side _x==east} count thislist < 5) AND ({_x in thislist} count units mygroup > 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  

×