Jump to content

Recommended Posts

I am trying to add the virtual garage to my mission, but I am unable to limit the vehicle selection.

this addaction [ "<t color='#0000FF'>CustomGarage</t>",{
BIS_fnc_garage_data = [
		[ ( configFile >> 'cfgVehicles' >> 'B_MRAP_01_F' ) ]
_pos = [ player, 30, getDir player ] call BIS_fnc_relPos;
BIS_fnc_garage_center = createVehicle [ "Land_HelipadEmpty_F", _pos, [], 0, "CAN_COLLIDE" ];
["Open",true] call BIS_fnc_garage;
h = [] spawn {
	waitUntil { isNull ( uinamespace getvariable ["BIS_fnc_arsenal_cam",objnull] ) };
	BIS_fnc_garage_data = nil;
}, [], 1, true, true, "", "isNull cursortarget"];

This is the code so far, but even if I edit the "BIS_fnc_garage_data" there are still all vehicles available. I want to limit the access to the vehicles by type: Wheeled, Tracked, Rotary, Fixed Wing and Naval and static. Later in the process I want to limit it to the players side. Any help would be appreciated

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