nearestBuilding: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (fixed example)
Line 17: Line 17:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>_nBuilding = nearestBuilding [[player]]</pre> |= Example 1
|x1= <code>_nBuilding <nowiki>=</nowiki> nearestBuilding [[player]]</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 20:06, 3 October 2006

Hover & click on the images for description

Description

Description:
Nearest building to given object.
Groups:
Uncategorised

Syntax

Syntax:
nearestBuilding obj
Parameters:
obj: Object
Return Value:
Object

Examples

Example 1:
_nBuilding = nearestBuilding player

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section