Jump to content

Recommended Posts

Hi, I got a trigger called 'ammoPres'. It then runs an sqf when player enters.

I want to check if player and another unit are both inside a different trigger by running an if statement?

if (player in mytrigger_list && unit in mytrigger_list) 


then {do this} else {dothis} 

Don't know if the following would help?

_isInLocation = getPos player in myLocation

Share this post


Link to post
Share on other sites

Group the first trigger to the player then group the other trigger to the unit and name the trigger trig1.

Cond:

this && triggerActivated trig1

Act:

_null = [] execVM "somescript.sqf"

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  

×