diff --git a/scripts/DMS_spawnAI.sqf b/scripts/DMS_spawnAI.sqf index ec392e2..49595b9 100644 --- a/scripts/DMS_spawnAI.sqf +++ b/scripts/DMS_spawnAI.sqf @@ -7,6 +7,13 @@ DMS_spawnAI = { _group setBehaviour "COMBAT"; _group setCombatMode "RED"; _group allowFleeing 0; + + // Set AI owner to Player. + // _group setGroupOwner (owner player); + // + ExileServerOwnershipSwapQueue pushBack [_group,_playerObject]; + + for "_i" from 1 to _units do { _soldier = _group createUnit ["i_g_soldier_unarmed_f", [_pos select 0, _pos select 1, 0], [], 1, "Form"]; removeAllAssignedItems _soldier;