nearestBuilding: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
back to [[Scripting_Reference#N|COMREF]]
<h2 style="color:#000066">'''nearestBuilding ''obj'''''</h2>
<h2 style="color:#000066">'''nearestBuilding ''obj'''''</h2>


'''Operand types:'''
'''Operand types:'''


obj: [[Object]]
'''obj:''' [[Object]]


'''Type of returned value:'''
'''Type of returned value:'''
Line 11: Line 14:
'''Description:'''
'''Description:'''


Nearest building to given object.
Nearest building to given '''object'''.
 


'''Example:'''
'''Example:'''


_nBuilding = '''nearestBuilding''' player
_nBuilding = '''nearestBuilding''' [[player]]

Revision as of 19:37, 15 April 2006

back to COMREF

nearestBuilding obj


Operand types:

obj: Object

Type of returned value:

Object

Description:

Nearest building to given object.


Example:

_nBuilding = nearestBuilding player