alleycat 28 Posted October 5, 2013 _targets = []; { if (typeof _x == "TargetP_Inf2_F") then { _targets set [count _targets, _x]; }; } forEach vehicles; diag_log text format["_targets: %1", count _targets]; Always counts 0. What object class are pop up targets? Share this post Link to post Share on other sites
Gekkibi 11 Posted October 5, 2013 Did you mean what type they are? Depends of the popup target. Place one in the editor and put this to the init field: copyToClipboard str(typeOf this); Preview, and the type is in your clipboard... Share this post Link to post Share on other sites
alleycat 28 Posted October 6, 2013 Thanks, that is very practical. ---------- Post added at 07:33 ---------- Previous post was at 07:27 ---------- Actually that did not solve the problem. I need to find out what object subclass they are because filtering them from vehicles wont work. Share this post Link to post Share on other sites
alleycat 28 Posted October 13, 2013 bump because stuck Share this post Link to post Share on other sites
alleycat 28 Posted October 21, 2013 Still cant find a solution, what object class should i filter for to detect pop up targets? vehicles does not work. Share this post Link to post Share on other sites