Sarge-AI/scripts/UPSMON/MODULES/UPSMON_ModifyUcthis.sqf
Teh Dango 3ac749d64b 2.1.0
This is the latest stable version of Sarge AI for Arma 3: Exile.
2016-02-19 21:49:51 -05:00

17 lines
295 B
Plaintext

private ["_npc"];
_npc = _this select 0;
_grp = group _npc;
If (!IsNull _npc && alive _npc && _grp in UPSMON_NPCs) then
{
_grp setvariable ["UPSMON_Removegroup",true];
waituntil {!alive _npc || !(_grp in UPSMON_NPCs)};
If (alive _npc) then
{
_this execvm "Scripts\UPSMON.sqf";
};
};