nearestBuilding – Talk

From Bohemia Interactive Community
Revision as of 12:22, 8 January 2011 by .kju (talk | contribs) (Moved note to talk page.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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)