nearestBuilding: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|NEARESTBUILDING]]
[[Category:Scripting Commands|NEARESTBUILDING]]
[[Category:Scripting Commands OFP 1.97|NEARESTBUILDING]]
[[Category:Scripting Commands OFP 1.96|NEARESTBUILDING]]
[[Category:Scripting Commands OFP 1.46|NEARESTBUILDING]]
[[Category:Scripting Commands OFP 1.46|NEARESTBUILDING]]
[[Category:Scripting Commands ArmA|NEARESTBUILDING]]
[[Category:Scripting Commands ArmA|NEARESTBUILDING]]

Revision as of 19:50, 1 June 2006


nearestBuilding obj


Operand types:

obj: Object

Type of returned value:

Object

Description:

Nearest building to given object.


Example:

_nBuilding = nearestBuilding player