nearestObject – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
m (Text replacement - "Offical" to "Official")
 
(4 intermediate revisions by 3 users not shown)
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 ?
 
:: No developer questions. Please keep the questions to the Official BI Forums.
::[[User:Hoz|hoz]] 03:09, 20 July 2006 (CEST)
 
== Icon for introduced in ... ==
 
A generally remark, i know...: Although it might interesting sometimes to know when a command was introduced, wouldn't it a better idea to show the user for which game(s) the command is valid. Or will a command/syntax labeled by e.g. the "Flashpoint" 1.0 icon automatically also be a valid command for the succeeding games?
--[[User:TomNedry|TomNedry]] 23:56, 9 February 2007 (CET)


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 ?
: There's no official statement on what happens after ArmA, but all OFP commands (beside [[object]]) are still working in ArmA, afaik. --[[User:Raedor|raedor]] 00:07, 10 February 2007 (CET)
 
Copy that! Although it's a little bit dissapointing that there's no statement for this subject-development for the time after ArmA...;-) --[[User:TomNedry|TomNedry]] 12:40, 10 February 2007 (CET)

Latest revision as of 17:08, 1 February 2021

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 Official BI Forums.
hoz 03:09, 20 July 2006 (CEST)

Icon for introduced in ...

A generally remark, i know...: Although it might interesting sometimes to know when a command was introduced, wouldn't it a better idea to show the user for which game(s) the command is valid. Or will a command/syntax labeled by e.g. the "Flashpoint" 1.0 icon automatically also be a valid command for the succeeding games? --TomNedry 23:56, 9 February 2007 (CET)

There's no official statement on what happens after ArmA, but all OFP commands (beside object) are still working in ArmA, afaik. --raedor 00:07, 10 February 2007 (CET)

Copy that! Although it's a little bit dissapointing that there's no statement for this subject-development for the time after ArmA...;-) --TomNedry 12:40, 10 February 2007 (CET)