nearestBuilding – Talk

From Bohemia Interactive Community
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)