Jump to content
Sign in to follow this  
dimon

Control function of the crew vehicle.

Recommended Posts

lock seats in the crew vehicles

Parameters:
		0. _this - default
		1. - places that are blocked 
		"driver"
		"gunner"
		"commander" - lock the commander is only allowed for var_restrictedVeh_commander
		"crew" - lock all equipment (incl. passengers allowed only for var_restrictedVeh_allcrew
		[0,1] - lock turrets
		["cargo",2] - lock the passenger space with index 2
		2. - "east"/"west"/"guer"/"civ"/"" - check the player on the side (optional)
		
		The examples run in the init vehicle:
		_=[this,"driver","gunner"] execvm "fnc_inCrew_a3.sqf";
		_=[this,"driver","gunner"] execvm "fnc_inCrew_a3.sqf";
		_=[this,"driver","gunner","commander"] execvm "fnc_inCrew_a3.sqf";
		_=[this,"driver","gunner","commander"] execvm "fnc_inCrew_a3.sqf";
		_=[this,"driver","gunner","commander",weST] execvm "fnc_inCrew_a3.sqf";
		_=[this,"driver","gunner","commander","east"] execvm "fnc_inCrew_a3.sqf";
		_=[this,"driver","gunner","commander","east",[0,1],["cargo",3]] execvm "fnc_inCrew_a3.sqf"; 

GitHub

Share this post


Link to post
Share on other sites
fnc_A3inCrew_2

new version

 


 


The examples run in the init vehicle:

                _=[this,"driver","gunner"] call compile preprocessFileLineNumbers "fnc_A3inCrew_2.sqf";

                _=[this,"driver","gunner"] call compile preprocessFileLineNumbers "fnc_A3inCrew_2.sqf";

                _=[this,"driver","gunner","commander"] call compile preprocessFileLineNumbers "fnc_A3inCrew_2.sqf";

                _=[this,"driver","gunner","commander"] call compile preprocessFileLineNumbers "fnc_A3inCrew_2.sqf";

                _=[this,"driver","gunner","commander","east"] call compile preprocessFileLineNumbers "fnc_A3inCrew_2.sqf";

                _=[this,"driver","gunner","commander","east",[0,1],["cargo",3]] call compile preprocessFileLineNumbers "fnc_A3inCrew_2.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  

×