Jump to content
Sign in to follow this  
tobmic

Trigger condition help

Recommended Posts

Got a quick question on this I used search before but didnt find anything that helped me.

I placed a trigger with Blufor not present and on condition I placed this

west countSide thislist <= 1

and on activation

task8done = true; publicvariable "task8done"

However i want to change the trigger condition that Opfor has to be present to seize the Area .

How am i able to do that ?

I tried changing condition to this

west countSide thislist <= 1 AND east countSide thislist >= 1

or

west countSide thislist <= 1 AND {isplayer _x} count thislist > 1

but both ways wont work : (

Share this post


Link to post
Share on other sites

I got over that one too:

try:

East Present

And in condition: this AND west countSide thislist <= 1

place in on Act.: hint "west gone, east there" and give it a try.

Share this post


Link to post
Share on other sites
I got over that one too:

try:

East Present

And in condition: this AND west countSide thislist <= 1

place in on Act.: hint "west gone, east there" and give it a try.

Nope, because as the trigger is only activated by East, "west countside thislist" will only return 0 (thislist contains only East soldiers).

So, make a trigger activated by anybody, and then you'll be able to count what you want, such as :

west countSide thislist <= 1 AND east countSide thislist >= 1

Share this post


Link to post
Share on other sites

If you like to check West and East then you have to set the Activation to all.

Share this post


Link to post
Share on other sites

yeah it works now thx alot for the help

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  

×