Fix enum errors (#5834)

* Fix enum errors

* Update fnc_paradropItem.sqf

* Update fnc_actionPlaceInBodyBag.sqf

* Update fnc_compat_spectatorBI.sqf

* Update ACE_ZeusActions.hpp
This commit is contained in:
commy2 2017-12-01 17:34:27 +01:00 committed by PabstMirror
parent 9c4a32d1df
commit 7cfb2b865c
5 changed files with 5 additions and 5 deletions

View File

@ -44,7 +44,7 @@ private _itemObject = if (_item isEqualType objNull) then {
[QGVAR(serverUnload), [_item, _posBehindVehicleAGL]] call CBA_fnc_serverEvent;
_item
} else {
private _newItem = createVehicle [_item, _posBehindVehicleAGL, [], 0, ""];
private _newItem = createVehicle [_item, _posBehindVehicleAGL, [], 0, "NONE"];
_newItem setPosASL (AGLtoASL _posBehindVehicleAGL);
_newItem
};

View File

@ -55,7 +55,7 @@ if (_item isEqualType objNull) then {
// do both on server to ensure they are executed in the correct order
[QGVAR(serverUnload), [_item, _emptyPosAGL]] call CBA_fnc_serverEvent;
} else {
private _newItem = createVehicle [_item, _emptyPosAGL, [], 0, ""];
private _newItem = createVehicle [_item, _emptyPosAGL, [], 0, "NONE"];
_newItem setPosASL (AGLtoASL _emptyPosAGL);
};

View File

@ -33,7 +33,7 @@ class ACE_ZeusActions {
class remoteControl {
displayName = "$STR_A3_CfgVehicles_ModuleRemoteControl_F";
icon = "\A3\Modules_F_Curator\Data\portraitRemoteControl_ca.paa";
statement = "_unit = objNull; { if ((side _x in [east,west,resistance,civilian]) && !(isPlayer _x)) exitWith { _unit = _x; }; } forEach (curatorSelected select 0); bis_fnc_curatorObjectPlaced_mouseOver = ['OBJECT',_unit]; (group _target) createUnit ['ModuleRemoteControl_F',[0,0,0],[],0,''];";
statement = "_unit = objNull; { if ((side _x in [east,west,resistance,civilian]) && !(isPlayer _x)) exitWith { _unit = _x; }; } forEach (curatorSelected select 0); bis_fnc_curatorObjectPlaced_mouseOver = ['OBJECT',_unit]; (group _target) createUnit ['ModuleRemoteControl_F',[0,0,0],[],0,'NONE'];";
};
};

View File

@ -41,7 +41,7 @@ private _direction = _dirVect call CBA_fnc_vectDir;
//move the body away now, so it won't physX the bodyBag object (this setPos seems to need to be called where object is local)
_target setPosASL [-5000, -5000, 0];
private _bodyBag = createVehicle ["ACE_bodyBagObject", _position, [], 0, ""];
private _bodyBag = createVehicle ["ACE_bodyBagObject", _position, [], 0, "NONE"];
// prevent body bag from flipping
_bodyBag setPosASL _position;

View File

@ -42,7 +42,7 @@ if (_respawn in [4,5]) then {
// Switch to a virtual unit so draw3D continues to work
private _grp = createGroup [sideLogic, true];
private _virtual = _grp createUnit [QGVAR(virtual),[0,0,0],[],0,""];
private _virtual = _grp createUnit [QGVAR(virtual),[0,0,0],[],0,"NONE"];
// Prevent unit falling into water (compatibility for some addons)
_virtual enableSimulation false;