nearestBuilding: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 11: Line 11:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Object#Building|Building]] <nowiki>=</nowiki> '''nearestBuilding''' [[Object]]|= Syntax
| [[Object]] <nowiki>=</nowiki> '''nearestBuilding''' object |= Syntax
 
|p1= object: [[Object]] |= Parameter 1


| [[Object]] |= Return value
| [[Object]] |= Return value

Revision as of 22:44, 23 January 2009

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:
Object = nearestBuilding object
Parameters:
object: Object
Return Value:
Object

Examples

Example 1:
_nBuilding = nearestBuilding player

Additional Information

See also:
nearestObjectnearestObjectsnearObjectsnearestObject typenearestBuilding_(VBS2)

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