Jump to content
Sign in to follow this  
HotosHideout

Trigger condition for specific units.

Recommended Posts

I have a 60 player civilian team in my mission file and I would like to split it into several "teams". For example some civs will be in a gang some will be PMCs, etc.  I would like to know how to have a trigger identify the unit to teleport out by variable name or a unique identifier that I can place in the units init field. For example it will teleport out any player that is !(civX) or that is not in gangX.


The trigger that I would like to use is as follows and is in a multiplayer environment. 

Type: None
Activation: None

Repeatable: Yes

Server Only: No

 

Condition
player inArea thisTrigger;

On Activation
vehicle player setposatl [5844,11332,0];

Share this post


Link to post
Share on other sites

Figured it out.

Type: None
Activation: None

Repeatable: Yes

Server Only: No

 

Condition
player inArea thisTrigger && !(player == civX);

On Activation
vehicle player setposatl [5844,11332,0];

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  

×