nearestBuilding: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. definition of building)
mNo edit summary
Line 8: Line 8:


| Nearest building to given object. <br>
| Nearest building to given object. <br>
A "building" is defined as an object that has a path LOD defined (independently of which class it belongs to). |= Description
A "building" is defined as an object that is of class "House", and contains a path LOD. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 16:37, 17 October 2008

Hover & click on the images for description

Description

Description:
Nearest building to given object.
A "building" is defined as an object that is of class "House", and contains a path LOD.
Groups:
Uncategorised

Syntax

Syntax:
Building = nearestBuilding Object
Return Value:
Object

Examples

Example 1:
_nBuilding = nearestBuilding player

Additional Information

See also:
nearestObjectnearestObjectsnearObjectsnearestObject type

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