Jump to content
Sign in to follow this  
mtuckner

Specific Trigger Condition Problem and Bonus Question

Recommended Posts

Quick question, I did some searching and I cannot find a solution.

I want to have a trigger complete an objective when the player kills three named entities. I have them named as g1, g2, and g3. I use the following as the condition for the trigger:

!alive g1 && g2 && g3

Nothing happens when I kill them. The units are AMBIENT LIFE. I changed their side in the mission.sqf to EAST to see if that would fix it but it didn't either.

Is my condition correct? By everything I find it seems to be right.

One final question (again, I did searches, 30 minutes of reading threads should be adequate) about something simple. What condition would work for a trigger to see if the player is within 20 yards?

Share this post


Link to post
Share on other sites

1)

(!alive g1) && (!alive g2) && (!alive g3)

2) Place a trigger with 20 yards and write in it's condition:

player in thislist

Make sure the trigger is activated by the side of your player (BLUFOR/OPFOR/ANY...). And notice that triggers use meters only, so you have to convert 20 yards into meters.

Edited by IndeedPete

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  

×