mirror of
https://github.com/Defent/DMS_Exile.git
synced 2024-08-30 16:52:12 +00:00
Added AI owner. Ty Grim-senpai.
This commit is contained in:
parent
333fe567b2
commit
c335ce296f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user