Devastator_cm 434 Posted November 9, 2016 Hi Guys,I am trying already since yesterday but couldn't manage to use this bis function.I have a setup where blufor Group T1 is just infront of the Opfor group T2.When I start mission and write the following from debug console _targets = (leader t1) call BIS_fnc_getEnemyTargets; hint format ["count: %1", (count _targets)]; I get count: scalar which means it didn't return any target so array is null. How can this be? They are firing each other from 15 meter distance... Share this post Link to post Share on other sites
davidoss 550 Posted November 9, 2016 I couldn't find BIS_fnc_getEnemyTargets. Use BIS_fnc_EnemyTargets instead. Share this post Link to post Share on other sites
Devastator_cm 434 Posted November 9, 2016 Can someone shoot me and then delete this thread? I don't want to remember this moment :banghead: Share this post Link to post Share on other sites
R3vo 2652 Posted November 9, 2016 Can someone shoot me and then delete this thread? I don't want to remember this moment :banghead: Devastator_cm Share this post Link to post Share on other sites
Devastator_cm 434 Posted November 9, 2016 A question though :)Why findNearestEnemy can find an enemy while _targets = (leader t1) call BIS_fnc_EnemyTargets; hint format ["count: %1", (count _targets)]; shows 0? I thought BIS function is just an extended version which returns array instead of single unit. Is there a range limitation by bis function which is not documented? Share this post Link to post Share on other sites