mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
@ -38,4 +38,7 @@ private _deployedRopes = _vehicle getVariable [QGVAR(deployedRopes), []];
|
|||||||
} count _deployedRopes;
|
} count _deployedRopes;
|
||||||
|
|
||||||
_vehicle setVariable [QGVAR(deployedRopes), [], true];
|
_vehicle setVariable [QGVAR(deployedRopes), [], true];
|
||||||
_vehicle setVariable [QGVAR(deploymentStage), 2, true];
|
|
||||||
|
// Set new state (0 if no FRIES, 2 if FRIES for manual stowing)
|
||||||
|
private _newState = [0, 2] select (isText (configFile >> "CfgVehicles" >> typeOf _vehicle >> QGVAR(onCut)));
|
||||||
|
_vehicle setVariable [QGVAR(deploymentStage), _newState, true];
|
||||||
|
Reference in New Issue
Block a user