fix locked driver

This commit is contained in:
second_coming 2016-04-12 13:12:01 +01:00
parent 999892c9fd
commit 6e86c28b83

View File

@ -102,7 +102,7 @@ for "_i" from 1 to _vehiclesToSpawn do
_unit = [_group,_spawnLocation,"assault","random","bandit","Vehicle"] call DMS_fnc_SpawnAISoldier; _unit = [_group,_spawnLocation,"assault","random","bandit","Vehicle"] call DMS_fnc_SpawnAISoldier;
_unit assignAsDriver _vehicle; _unit assignAsDriver _vehicle;
_unit moveInDriver _vehicle; _unit moveInDriver _vehicle;
_vehicle lockDriver true; //_vehicle lockDriver true;
_unit setVariable ["DMS_AssignedVeh",_vehicle]; _unit setVariable ["DMS_AssignedVeh",_vehicle];
removeBackpackGlobal _unit; removeBackpackGlobal _unit;
_unit addBackpackGlobal "B_Parachute"; _unit addBackpackGlobal "B_Parachute";