Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
supergruntsb78

check if a spawned radar site is dead

Recommended Posts

hi there,

i have created a radar site by using the following on a gamelogic

_newObjs = [getPos this, random 360, "radarsite1_RU"] call (compile (preprocessFileLineNumbers "ca\modules\dyno\data\scripts\objectMapper.sqf"));

now i need to check if the site is destroyed (the radar in the template in particular) how do i check this ?

thanks in advance

Share this post


Link to post
Share on other sites

well, the return value seems to be an array of all the objects created by the function.

maybe you can go over them with a foreach loop, find the radar by the object type.

one you find the radar object, you can create a trigger with the right condition (or just make a loop that checks the damage value every few seconds).

Share this post


Link to post
Share on other sites
Sign in to follow this  

×