mirror of
https://github.com/Defent/DMS_Exile.git
synced 2024-08-30 16:52:12 +00:00
Small fix
This commit is contained in:
parent
082bcc892f
commit
1eb7e0e8c1
@ -4,7 +4,7 @@ class CfgPatches
|
||||
{
|
||||
units[] = {};
|
||||
weapons[] = {};
|
||||
a3_DMS_version = "July 18, 2016";
|
||||
a3_DMS_version = "July 18, 2016 v2";
|
||||
requiredVersion = 1.36;
|
||||
requiredAddons[] = {"exile_client","exile_server_config"};
|
||||
};
|
||||
|
@ -71,7 +71,7 @@ if (_class == "custom") then
|
||||
|
||||
_group = createGroup (missionNamespace getVariable [format ["DMS_%1Side",_side],EAST]);
|
||||
|
||||
_group setVariable ["DMS_LockLocality",nil];
|
||||
_group setVariable ["DMS_LockLocality",true]; // Lock locality until all units are spawned
|
||||
_group setVariable ["DMS_SpawnedGroup",true];
|
||||
_group setVariable ["DMS_Group_Side", _side];
|
||||
|
||||
@ -127,6 +127,8 @@ if (DMS_ai_freezeOnSpawn) then
|
||||
[_group,true] call DMS_fnc_FreezeToggle;
|
||||
};
|
||||
|
||||
_group setVariable ["DMS_LockLocality",false]; // Unlock locality now that we're done with the group
|
||||
|
||||
|
||||
diag_log format ["DMS_SpawnAIGroup :: Spawned %1 AI at %2.",_count,_pos];
|
||||
|
||||
|
@ -87,7 +87,7 @@ if (_class == "custom") then
|
||||
|
||||
private _group = createGroup (missionNamespace getVariable [format ["DMS_%1Side",_side],EAST]);
|
||||
|
||||
_group setVariable ["DMS_LockLocality",nil];
|
||||
_group setVariable ["DMS_LockLocality",true]; // Lock locality until all units are spawned
|
||||
_group setVariable ["DMS_SpawnedGroup",true];
|
||||
_group setVariable ["DMS_Group_Side", _side];
|
||||
|
||||
@ -143,6 +143,8 @@ if (DMS_ai_freezeOnSpawn) then
|
||||
[_group,true] call DMS_fnc_FreezeToggle;
|
||||
};
|
||||
|
||||
_group setVariable ["DMS_LockLocality",false]; // Unlock locality now that we're done with the group
|
||||
|
||||
|
||||
diag_log format ["DMS_SpawnAIGroup_MultiPos :: Spawned %1 AI using positions parameter: %2.",_count,_positions];
|
||||
|
||||
|
@ -361,7 +361,7 @@ else
|
||||
// Soldier killed event handler
|
||||
_unit addMPEventHandler ["MPKilled",'if (isServer) then {_this call DMS_fnc_OnKilled;};'];
|
||||
|
||||
// Remove ramming damage from players. Also remove any damage within 5 seconds of spawning.
|
||||
// Remove ramming damage from players.
|
||||
// Will not work if unit is not local (offloaded)
|
||||
if (DMS_ai_disable_ramming_damage) then
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
   
|
||||
   
|
||||
|
||||
|
||||
# To the User:
|
||||
|
Loading…
Reference in New Issue
Block a user