nearestObject – Talk

From Bohemia Interactive Community
Revision as of 19:59, 19 July 2006 by Sbsmac (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

AnswerMe

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 ?