fixes and spaces

This commit is contained in:
bux578 2015-01-13 15:28:03 +01:00
parent 5ffe1fa3e5
commit 425be3a6c2
18 changed files with 173 additions and 173 deletions

View File

@ -1,6 +1,6 @@
class Extended_PreInit_EventHandlers { class Extended_PreInit_EventHandlers {
class ADDON { class ADDON {
init = QUOTE( call compile preprocessFileLineNumbers PATHTOF(XEH_preInit.sqf) ); init = QUOTE( call COMPILE_FILE(XEH_preInit) );
}; };
}; };

View File

@ -20,7 +20,6 @@ class CfgPatches {
#include "CfgVehicles.hpp" #include "CfgVehicles.hpp"
class ACE_Parameters_Boolean { class ACE_Parameters_Boolean {
// Boolean Parameters (0/1)
GVAR(SavePreDeathGear) = 0; GVAR(SavePreDeathGear) = 0;
GVAR(RemoveDeadBodiesDisonncected) = 1; GVAR(RemoveDeadBodiesDisonncected) = 1;
}; };

View File

@ -29,5 +29,5 @@ if (GVAR(SavePreDeathGear)) then {
}; };
if (missionNamespace getVariable [QGVAR(showFriendlyFireMessage), false]) then { if (missionNamespace getVariable [QGVAR(showFriendlyFireMessage), false]) then {
[_this, FUNC(showFriendlyFireMessage), 2] call EFUNC(Core, execRemoteFnc); [_this, FUNC(showFriendlyFireMessage), 2] call EFUNC(Core,execRemoteFnc);
}; };

View File

@ -27,8 +27,8 @@ if !(_activated) exitWith {};
GVAR(Module) = true; GVAR(Module) = true;
[_logic, QGVAR(SavePreDeathGear), "SavePreDeathGear"] call EFUNC(Core, readBooleanParameterFromModule); [_logic, QGVAR(SavePreDeathGear), "SavePreDeathGear"] call EFUNC(Core,readBooleanParameterFromModule);
[_logic, QGVAR(RemoveDeadBodiesDisonncected), "RemoveDeadBodiesDisonncected"] call EFUNC(Core, readBooleanParameterFromModule); [_logic, QGVAR(RemoveDeadBodiesDisonncected), "RemoveDeadBodiesDisonncected"] call EFUNC(Core,readBooleanParameterFromModule);
if (isServer) then { if (isServer) then {
if (GVAR(RemoveDeadBodiesDisonncected)) then { if (GVAR(RemoveDeadBodiesDisonncected)) then {

View File

@ -38,7 +38,7 @@ _this spawn {
_position set [2, 0]; _position set [2, 0];
[localize "STR_ACE_Respawn_Deploy"] call EFUNC(Core, displayTextStructured); [localize "STR_ACE_Respawn_Deploy"] call EFUNC(Core,displayTextStructured);
sleep 5; sleep 5;
_rallypoint setPosATL _position; _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]; _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);
}; };

View File

@ -23,7 +23,7 @@ _unit = _this select 0;
_killer = _this select 1; _killer = _this select 1;
if (_unit != _killer && side group _unit in [side group ACE_player, civilian] && {side group _killer == side group ACE_player}) then { 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);
}; };

View File

@ -0,0 +1 @@
#include "\z\ace\addons\respawn\script_component.hpp"