nearestBuilding – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
 
(Moved note to talk page.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Although I won't dispute the fact that this command may not find churches, the churches are indeed under class "Building":
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]]


All
: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)
  Static
      Fortress
      Building
        NonStrategic
            Church
 
[[User:Planck|Planck]] 14:49, 25 February 2007 (CET)

Latest revision as of 11: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)