Koni 3 Posted July 26, 2011 I'm trying to spawn a group of Civilians that will be classed as Blufor, so Opfor will engage them on sight. They are named in groups, c1, c2 and c3 _pos = getmarkerPos "NCM1"; _skill = [0.1, 0.5]; _side = west; _units = ["Citizen2", "Citizen1", "Citizen3", "Citizen4", "Doctor", "Profiteer2", "Rocker1", "SchoolTeacher", "Damsel1", "Farmwife4"]; C1 = [_pos, _side, _units, [], [], _skill] call BIS_fnc_spawnGroup; That spawns a Civilian group named C1 just fine, but as they pose no threat to anyone they are not fired upon by Opfor, so I had another Blufor unit hidden away in no mans land called wes, so I tried [c1] join wes; which works fine for the group leader of the Civilians, as he now is engaged by Opfor, but once the Civilian group leader of C1 is dead the rest of the group is ignored by Opfor units. How can I get all the Civilian units in the C1 group to join a Blufor group somewhere out of sight so all the Civilians are classed as an enemy to Opfor units ? Share this post Link to post Share on other sites
Armach 10 Posted July 26, 2011 well, u can try setFriend command to make all civilians hostile to opfor (look at this) or maybe can try to play with ranks and ratings if u have another civilians on the map and need only an exact group to have special relation. maybe there r also some other ways to realise it. Share this post Link to post Share on other sites
cobra4v320 27 Posted July 26, 2011 (edited) Here you go :D _pos = getmarkerPos "NCM1"; _skill = [0.1, 0.5]; _side = [color="Red"]civilian[/color]; _units = ["Citizen2", "Citizen1", "Citizen3", "Citizen4", "Doctor", "Profiteer2", "Rocker1", "SchoolTeacher", "Damsel1", "Farmwife4"]; C1 = [_pos, _side, _units, [], [], _skill] call BIS_fnc_spawnGroup; [color="Red"]{[_x] joinsilent (group player)} foreach units c1; deletegroup c1;[/color] Edited July 26, 2011 by cobra4v320 Share this post Link to post Share on other sites
Koni 3 Posted July 26, 2011 Yeah, that's exactl what I needed, thanks cobra Share this post Link to post Share on other sites