mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fixed and working.
This commit is contained in:
parent
1f8eac7b11
commit
7622f3daea
@ -82,7 +82,7 @@ class CfgVehicles {
|
|||||||
displayName = "Teleport to Rallypoint";
|
displayName = "Teleport to Rallypoint";
|
||||||
distance = 4;
|
distance = 4;
|
||||||
condition = QUOTE(side group _player == west);
|
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;
|
showDisabled = 1;
|
||||||
priority = 1;
|
priority = 1;
|
||||||
};
|
};
|
||||||
@ -102,7 +102,7 @@ class CfgVehicles {
|
|||||||
displayName = "Teleport to Rallypoint";
|
displayName = "Teleport to Rallypoint";
|
||||||
distance = 4;
|
distance = 4;
|
||||||
condition = QUOTE(side group _player == east);
|
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;
|
showDisabled = 1;
|
||||||
priority = 1;
|
priority = 1;
|
||||||
};
|
};
|
||||||
@ -122,7 +122,7 @@ class CfgVehicles {
|
|||||||
displayName = "Teleport to Rallypoint";
|
displayName = "Teleport to Rallypoint";
|
||||||
distance = 4;
|
distance = 4;
|
||||||
condition = QUOTE(side group _player == independent);
|
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;
|
showDisabled = 1;
|
||||||
priority = 1;
|
priority = 1;
|
||||||
};
|
};
|
||||||
@ -143,7 +143,7 @@ class CfgVehicles {
|
|||||||
displayName = "Teleport to Base";
|
displayName = "Teleport to Base";
|
||||||
distance = 4;
|
distance = 4;
|
||||||
condition = QUOTE(side group _player == west);
|
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;
|
showDisabled = 1;
|
||||||
priority = 1;
|
priority = 1;
|
||||||
};
|
};
|
||||||
@ -163,7 +163,7 @@ class CfgVehicles {
|
|||||||
displayName = "Teleport to Base";
|
displayName = "Teleport to Base";
|
||||||
distance = 4;
|
distance = 4;
|
||||||
condition = QUOTE(side group _player == east);
|
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;
|
showDisabled = 1;
|
||||||
priority = 1;
|
priority = 1;
|
||||||
};
|
};
|
||||||
@ -183,7 +183,7 @@ class CfgVehicles {
|
|||||||
displayName = "Teleport to Base";
|
displayName = "Teleport to Base";
|
||||||
distance = 4;
|
distance = 4;
|
||||||
condition = QUOTE(side group _player == independent);
|
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;
|
showDisabled = 1;
|
||||||
priority = 1;
|
priority = 1;
|
||||||
};
|
};
|
||||||
|
@ -21,5 +21,5 @@ class CfgPatches {
|
|||||||
|
|
||||||
class ACE_Parameters_Boolean {
|
class ACE_Parameters_Boolean {
|
||||||
GVAR(SavePreDeathGear) = 0;
|
GVAR(SavePreDeathGear) = 0;
|
||||||
GVAR(RemoveDeadBodiesDisonncected) = 1;
|
GVAR(RemoveDeadBodiesDisconnected) = 1;
|
||||||
};
|
};
|
||||||
|
@ -24,7 +24,7 @@ _side = _this select 1;
|
|||||||
|
|
||||||
// rallypoint names are defined in CfgVehicles.hpp
|
// rallypoint names are defined in CfgVehicles.hpp
|
||||||
|
|
||||||
_unit getVariable ["ACE_canMoveRallypoint"), false]
|
_unit getVariable ["ACE_canMoveRallypoint", false]
|
||||||
&& {!isNull ([
|
&& {!isNull ([
|
||||||
objNull,
|
objNull,
|
||||||
missionNamespace getVariable ["ACE_Rallypoint_West", objNull],
|
missionNamespace getVariable ["ACE_Rallypoint_West", objNull],
|
||||||
|
@ -28,10 +28,10 @@ if !(_activated) exitWith {};
|
|||||||
GVAR(Module) = true;
|
GVAR(Module) = true;
|
||||||
|
|
||||||
[_logic, QGVAR(SavePreDeathGear), "SavePreDeathGear"] call EFUNC(common,readBooleanParameterFromModule);
|
[_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 (isServer) then {
|
||||||
if (GVAR(RemoveDeadBodiesDisonncected)) then {
|
if (GVAR(RemoveDeadBodiesDisconnected)) then {
|
||||||
_fnc_deleteDisconnected = {
|
_fnc_deleteDisconnected = {
|
||||||
_this spawn {
|
_this spawn {
|
||||||
_unit = _this select 0;
|
_unit = _this select 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user