That will work however I think it would be better to use if ((_timeBeingDead > _despawnAfterMinutes) && !([getPosATL _x, _despawnRadius] call ExileServer_util_position_isPlayerNearby)) thenwhich should give the correct behaviour i.e. despawnAfterMinutes is obeyed