Fixed and working.

This commit is contained in:
jaynus 2015-01-13 17:32:27 -08:00
parent 1f8eac7b11
commit 7622f3daea
4 changed files with 10 additions and 10 deletions

View File

@ -82,7 +82,7 @@ class CfgVehicles {
displayName = "Teleport to Rallypoint";
distance = 4;
condition = QUOTE(side group _player == west);
statement = QUOTE([_player, side group _player, false] call FUNC(teleportToRallypoint););
statement = QUOTE([_player, side group _player, false] call FUNC(teleportToRallypoint));
showDisabled = 1;
priority = 1;
};
@ -102,7 +102,7 @@ class CfgVehicles {
displayName = "Teleport to Rallypoint";
distance = 4;
condition = QUOTE(side group _player == east);
statement = QUOTE([_player, side group _player, false] call FUNC(teleportToRallypoint););
statement = QUOTE([_player, side group _player, false] call FUNC(teleportToRallypoint));
showDisabled = 1;
priority = 1;
};
@ -122,7 +122,7 @@ class CfgVehicles {
displayName = "Teleport to Rallypoint";
distance = 4;
condition = QUOTE(side group _player == independent);
statement = QUOTE([_player, side group _player, false] call FUNC(teleportToRallypoint););
statement = QUOTE([_player, side group _player, false] call FUNC(teleportToRallypoint));
showDisabled = 1;
priority = 1;
};
@ -143,7 +143,7 @@ class CfgVehicles {
displayName = "Teleport to Base";
distance = 4;
condition = QUOTE(side group _player == west);
statement = QUOTE([_player, side group _player, true] call FUNC(teleportToRallypoint););
statement = QUOTE([_player, side group _player, true] call FUNC(teleportToRallypoint));
showDisabled = 1;
priority = 1;
};
@ -163,7 +163,7 @@ class CfgVehicles {
displayName = "Teleport to Base";
distance = 4;
condition = QUOTE(side group _player == east);
statement = QUOTE([_player, side group _player, true] call FUNC(teleportToRallypoint););
statement = QUOTE([_player, side group _player, true] call FUNC(teleportToRallypoint));
showDisabled = 1;
priority = 1;
};
@ -183,7 +183,7 @@ class CfgVehicles {
displayName = "Teleport to Base";
distance = 4;
condition = QUOTE(side group _player == independent);
statement = QUOTE([_player, side group _player, true] call FUNC(teleportToRallypoint););
statement = QUOTE([_player, side group _player, true] call FUNC(teleportToRallypoint));
showDisabled = 1;
priority = 1;
};

View File

@ -21,5 +21,5 @@ class CfgPatches {
class ACE_Parameters_Boolean {
GVAR(SavePreDeathGear) = 0;
GVAR(RemoveDeadBodiesDisonncected) = 1;
GVAR(RemoveDeadBodiesDisconnected) = 1;
};

View File

@ -24,7 +24,7 @@ _side = _this select 1;
// rallypoint names are defined in CfgVehicles.hpp
_unit getVariable ["ACE_canMoveRallypoint"), false]
_unit getVariable ["ACE_canMoveRallypoint", false]
&& {!isNull ([
objNull,
missionNamespace getVariable ["ACE_Rallypoint_West", objNull],

View File

@ -28,10 +28,10 @@ if !(_activated) exitWith {};
GVAR(Module) = true;
[_logic, QGVAR(SavePreDeathGear), "SavePreDeathGear"] call EFUNC(common,readBooleanParameterFromModule);
[_logic, QGVAR(RemoveDeadBodiesDisonncected), "RemoveDeadBodiesDisonncected"] call EFUNC(common,readBooleanParameterFromModule);
[_logic, QGVAR(RemoveDeadBodiesDisconnected), "RemoveDeadBodiesDisconnected"] call EFUNC(common,readBooleanParameterFromModule);
if (isServer) then {
if (GVAR(RemoveDeadBodiesDisonncected)) then {
if (GVAR(RemoveDeadBodiesDisconnected)) then {
_fnc_deleteDisconnected = {
_this spawn {
_unit = _this select 0;