Jump to content
Sign in to follow this  
nickk13579

Specified Player type Only

Recommended Posts

what do i have to do regarding scripting to make it so that only pilots can get into helicopters, only crewman can get into tanks, etc. I'm sure its nothing too complicated, i'm just not sure where to start. If anyone could help me out id appreciate it.

Share this post


Link to post
Share on other sites

Trigger.Condition

!( ( driver heli1 )in allowedDriversHeli1 )

---OR---

Trigger.Condition

!( ( typeOf driver heli1 )in allowedTypesHeli1 )

Trigger.onActivation

( driver heli1 )action[ "GET OUT",heli1 ];

====OR====

Trigger.Condition

!( player in allowedDriversHeli1 )

---OR---

Trigger.Condition

!( ( typeOf player )in allowedTypesHeli1 )

Trigger.onActivation

heli1 lock true;

Share this post


Link to post
Share on other sites

Check also BAS framework. It contains an sqf script for it.

Very easy to use for beginners (like me) wink_o.gif

Share this post


Link to post
Share on other sites
Check also BAS framework. It contains an sqf script for it.

Very easy to use for beginners (like me) wink_o.gif

Correct - BAS f contains this feature, which you can enable very easily (full instructions included in the illustrated manual). Get the latest build from the link in my signature.

smile_o.gif

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  

×