nearestObject – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
m (Answer me removed, warning no developer questions plz.)
Line 1: Line 1:
[[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 ?


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.
::[[User:Hoz|hoz]] 03:09, 20 July 2006 (CEST)

Revision as of 03:09, 20 July 2006

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)