nearestObject – Talk

From Bohemia Interactive Community
Revision as of 02:09, 20 July 2006 by Hoz (talk | contribs) (Answer me removed, warning no developer questions plz.)
Jump to navigation Jump to search

In OFP nearestObject had the annoying behaviour that nearestObject[obj,typeof obj] returned the object itself. This meant that it was very difficult to find the nearest team-mate for example without writing code to iterate over all known objects and manually compare the distances. Is this behaviour changed for Armed Assault ?

No developer questions. Please keep the questions to the Offical BI Forums.
hoz 03:09, 20 July 2006 (CEST)