buildingExit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *arma2 * * *\| *([0-1]\.[0-9]{2}) * \|game2" to "|game1= arma2 |version1= $1 |game2")
mNo edit summary
 
(8 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]]
}}
}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Latest revision as of 21: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