nearestBuilding: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofp |= Game name | |||
|1.00|= Game version | |||
____________________________________________________________________________________________ | |||
| Nearest building to given object. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | '''nearestBuilding''' obj |= Syntax | ||
|p1= obj: [[Object]] |= Parameter 1 | |||
| [[Object]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>_nBuilding = nearestBuilding [[player]]</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|NEARESTBUILDING]] | |||
[[Category:Scripting Commands OFP 1.96|NEARESTBUILDING]] | |||
[[Category:Scripting Commands OFP 1.46|NEARESTBUILDING]] | |||
[[Category:Scripting Commands ArmA|NEARESTBUILDING]] |
Revision as of 23:32, 1 August 2006
Description
- Description:
- Nearest building to given object.
- Groups:
- Uncategorised
Syntax
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