nearestObject – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(No difference)

Revision as of 20:59, 19 July 2006

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 ?