mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fixing Privates
This commit is contained in:
parent
4db9989480
commit
bc535c95ba
@ -14,4 +14,4 @@
|
||||
* Public: No
|
||||
*/
|
||||
#include "script_component.hpp"
|
||||
_unit setVariable [QGVAR(chuteIsCut), false];
|
||||
ACE_player setVariable [QGVAR(chuteIsCut), false];
|
@ -14,6 +14,6 @@
|
||||
*
|
||||
* Public: No
|
||||
*/
|
||||
|
||||
privat["_unit"];
|
||||
_unit = _this select 0;
|
||||
(animationState _unit == 'para_pilot' && !(_unit getvariable [QGVAR(chuteIsCut),false]))
|
@ -15,7 +15,7 @@
|
||||
* Public: No
|
||||
*/
|
||||
private["_unit","_vehicle"];
|
||||
PARAMS_1(_unit);
|
||||
_unit = _this select 0;
|
||||
_vehicle = vehicle _unit;
|
||||
_unit action ["GetOut", vehicle _unit];
|
||||
deleteVehicle _vehicle;
|
||||
|
@ -14,8 +14,8 @@
|
||||
* Public: No
|
||||
*/
|
||||
#include "script_component.hpp"
|
||||
private ["_unit"];
|
||||
PARAMS_1(_unit);
|
||||
private["_unit"];
|
||||
_unit = _this select 0;
|
||||
GVAR(PFH) = false;
|
||||
[_unit, "AmovPercMevaSrasWrflDf_AmovPknlMstpSrasWrflDnon", 2] call EFUNC(common,doAnimation);
|
||||
SETVAR(_unit,chuteIsCut,false);
|
||||
|
@ -15,13 +15,13 @@
|
||||
*
|
||||
* Public: No
|
||||
*/
|
||||
|
||||
private ["_unit","_backpack"];
|
||||
_unit = _this select 0;
|
||||
_backpack = (_this select 1) select 6 ;
|
||||
if ((vehicle _unit) isKindOf "ParachuteBase" || (backpack _unit == "")) then {
|
||||
_unit addbackpack (_unit getVariable[QGVAR(backpackClass),""]);
|
||||
_unit addBackpack (_unit getVariable[QGVAR(backpackClass),"ACE_NonSteerableParachute"]);
|
||||
} else {
|
||||
if (getText(configfile >> "CfgVehicles" >> _backpack >> "ace_reserveParachute") != "") then {
|
||||
_unit setvariable[QGVAR(backpackClass),getText(configfile >> "CfgVehicles" >> _backpack >> "ace_reserveParachute"),"ACE_NonSteerableParachute"];
|
||||
if (getText(configFile >> "CfgVehicles" >> _backpack >> "ace_reserveParachute") != "") then {
|
||||
_unit setVariable[QGVAR(backpackClass),getText(configFile >> "CfgVehicles" >> _backpack >> "ace_reserveParachute")];
|
||||
};
|
||||
};
|
Loading…
Reference in New Issue
Block a user