mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
fixes and spaces
This commit is contained in:
parent
5ffe1fa3e5
commit
425be3a6c2
@ -1,6 +1,6 @@
|
||||
class Extended_PreInit_EventHandlers {
|
||||
class ADDON {
|
||||
init = QUOTE( call compile preprocessFileLineNumbers PATHTOF(XEH_preInit.sqf) );
|
||||
init = QUOTE( call COMPILE_FILE(XEH_preInit) );
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -20,7 +20,6 @@ class CfgPatches {
|
||||
#include "CfgVehicles.hpp"
|
||||
|
||||
class ACE_Parameters_Boolean {
|
||||
// Boolean Parameters (0/1)
|
||||
GVAR(SavePreDeathGear) = 0;
|
||||
GVAR(RemoveDeadBodiesDisonncected) = 1;
|
||||
};
|
||||
|
@ -29,5 +29,5 @@ if (GVAR(SavePreDeathGear)) then {
|
||||
};
|
||||
|
||||
if (missionNamespace getVariable [QGVAR(showFriendlyFireMessage), false]) then {
|
||||
[_this, FUNC(showFriendlyFireMessage), 2] call EFUNC(Core, execRemoteFnc);
|
||||
[_this, FUNC(showFriendlyFireMessage), 2] call EFUNC(Core,execRemoteFnc);
|
||||
};
|
||||
|
@ -27,8 +27,8 @@ if !(_activated) exitWith {};
|
||||
|
||||
GVAR(Module) = true;
|
||||
|
||||
[_logic, QGVAR(SavePreDeathGear), "SavePreDeathGear"] call EFUNC(Core, readBooleanParameterFromModule);
|
||||
[_logic, QGVAR(RemoveDeadBodiesDisonncected), "RemoveDeadBodiesDisonncected"] call EFUNC(Core, readBooleanParameterFromModule);
|
||||
[_logic, QGVAR(SavePreDeathGear), "SavePreDeathGear"] call EFUNC(Core,readBooleanParameterFromModule);
|
||||
[_logic, QGVAR(RemoveDeadBodiesDisonncected), "RemoveDeadBodiesDisonncected"] call EFUNC(Core,readBooleanParameterFromModule);
|
||||
|
||||
if (isServer) then {
|
||||
if (GVAR(RemoveDeadBodiesDisonncected)) then {
|
||||
|
@ -38,7 +38,7 @@ _this spawn {
|
||||
|
||||
_position set [2, 0];
|
||||
|
||||
[localize "STR_ACE_Respawn_Deploy"] call EFUNC(Core, displayTextStructured);
|
||||
[localize "STR_ACE_Respawn_Deploy"] call EFUNC(Core,displayTextStructured);
|
||||
|
||||
sleep 5;
|
||||
_rallypoint setPosATL _position;
|
||||
@ -50,5 +50,5 @@ _this spawn {
|
||||
_marker setMarkerTextLocal format ["%1:%2", [date select 3, 2, 0] call CBA_fnc_FORMATNumber, [date select 4, 2, 0] call CBA_fnc_FORMATNumber];
|
||||
*/
|
||||
|
||||
[localize "STR_ACE_Respawn_Deploy"] call EFUNC(Core, displayTextStructured);
|
||||
[localize "STR_ACE_Respawn_Deploy"] call EFUNC(Core,displayTextStructured);
|
||||
};
|
||||
|
@ -23,7 +23,7 @@ _unit = _this select 0;
|
||||
_killer = _this select 1;
|
||||
|
||||
if (_unit != _killer && side group _unit in [side group ACE_player, civilian] && {side group _killer == side group ACE_player}) then {
|
||||
systemChat format ["%1 was killed by %2", [_unit] call EFUNC(Core, getName), [_killer] call EFUNC(Core, getName)];
|
||||
systemChat format ["%1 was killed by %2", [_unit] call EFUNC(Core,getName), [_killer] call EFUNC(Core,getName)];
|
||||
|
||||
[_unit, "killedByFriendly", [_unit, _killer]] call EFUNC(Core, callCustomEventHandlers);
|
||||
[_unit, "killedByFriendly", [_unit, _killer]] call EFUNC(Core,callCustomEventHandlers);
|
||||
};
|
||||
|
1
addons/respawn/functions/script_component.hpp
Normal file
1
addons/respawn/functions/script_component.hpp
Normal file
@ -0,0 +1 @@
|
||||
#include "\z\ace\addons\respawn\script_component.hpp"
|
Loading…
Reference in New Issue
Block a user