nearestBuilding: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (fixed example)
m (add. see also)
Line 20: Line 20:
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[nearestObject]], [[nearestObjects]], [[nearObjects]], [[nearestObject type]] |= See also


}}
}}
Line 37: Line 37:
[[Category:Scripting Commands OFP 1.46|NEARESTBUILDING]]
[[Category:Scripting Commands OFP 1.46|NEARESTBUILDING]]
[[Category:Scripting Commands ArmA|NEARESTBUILDING]]
[[Category:Scripting Commands ArmA|NEARESTBUILDING]]
[[Category:Command_Group:_Object_Information|{{uc:{{PAGENAME}}}}]]

Revision as of 01:47, 29 January 2007

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:
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