buildingExit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory\|[a-z]+[0-9]?\|Scripting Commands\}\}" to "")
mNo edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 17: Line 17:
|descr= Returns the given indexed exit in a building. The returned value is in format Position.
|descr= Returns the given indexed exit in a building. The returned value is in format Position.


|s1= building '''buildingExit''' index
|s1= building [[buildingExit]] index


|p1= building: [[Object]]
|p1= building: [[Object]]
Line 23: Line 23:
|p2= index: [[Number]]
|p2= index: [[Number]]


|r1=[[Array]] - format [[Position]]
|r1= [[Array]] format [[Position]]


|x1= <code>_building buildingExit 0</code>
|x1= <sqf>_building buildingExit 0;</sqf>


|seealso= [[buildingPos]], [[BIS_fnc_buildingPositions]]
|seealso= [[buildingPos]] [[insideBuilding]] [[BIS_fnc_buildingPositions]]
}}
}}

Latest revision as of 22:24, 28 September 2023

Hover & click on the images for description

Description

Description:
Returns the given indexed exit in a building. The returned value is in format Position.
Groups:
Object Manipulation

Syntax

Syntax:
building buildingExit index
Parameters:
building: Object
index: Number
Return Value:
Array format Position

Examples

Example 1:
_building buildingExit 0;

Additional Information

See also:
buildingPos insideBuilding BIS_fnc_buildingPositions

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