nearestBuilding – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(Moved note to talk page.)
 
Line 1: Line 1:
never mind  ;)
A call to nearestBuilding tends to freeze/halt the game for some ticks or even seconds. You may want to use nearestObject(s) with the needed class restriction instead. --[[User:Rübe|Rübe]]


[[User:Planck|Planck]] 14:51, 25 February 2007 (CET)
:I cannot confirm this. Either the command has been optimized or the system was already overloaded by other scripts/etc or the system was very weak. --[[User:Kju|Kju]] 11:22, 8 January 2011 (CET)

Latest revision as of 12:22, 8 January 2011

A call to nearestBuilding tends to freeze/halt the game for some ticks or even seconds. You may want to use nearestObject(s) with the needed class restriction instead. --Rübe

I cannot confirm this. Either the command has been optimized or the system was already overloaded by other scripts/etc or the system was very weak. --Kju 11:22, 8 January 2011 (CET)