Jump to content
Sign in to follow this  
Newborn

how set vehicles only used by Bluefor Opfor ?????

Recommended Posts

Hi all,

how can i set up a vehicle for example a plane to be only used by his fraction for example BLUEFOR and a A10 ??????

is theire a way to use the init ???

thx

Edited by Newborn

Share this post


Link to post
Share on other sites

Hi,

Best way to do it is with a Eventhandler.

Unit init line:

this addEventhandler ["Getin", { if (faction (_this select 2) != faction (_this select 0)) then { (_this select 2) action ["eject", (_this select 0)] } }];

_neo_

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  

×