nearestBuilding: Difference between revisions

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





Revision as of 14:43, 4 May 2006


nearestBuilding obj


Operand types:

obj: Object

Type of returned value:

Object

Description:

Nearest building to given object.


Example:

_nBuilding = nearestBuilding player