a3_exile_occupation/scripts/reactions/staticUnitMPKilled.sqf

12 lines
323 B
Plaintext
Raw Normal View History

2016-04-27 00:05:03 +00:00
// Get the variables from the event handler
_unit = _this select 0;
_staticUID = _unit getVariable "SC_staticUID";
_spawnPosition = _unit getVariable "SC_staticSpawnPos";
_group = group _unit;
if((count (units _group)) == 0) then
{
SC_liveStaticGroups = SC_liveStaticGroups - [_staticUID,_spawnPosition];
};