BIS fnc buildingPositions: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *([^=\| ]+) * \|p1=" to " |s1= $1 |p1=")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3")
Line 7: Line 7:
|gr1= Positions
|gr1= Positions


| Get all available positions within a building or structure.
|descr= Get all available positions within a building or structure.


|s1=  param call [[BIS_fnc_buildingPositions]]
|s1=  param call [[BIS_fnc_buildingPositions]]

Revision as of 20:35, 13 June 2021

Hover & click on the images for description

Description

Description:
Get all available positions within a building or structure.
Execution:
call
Groups:
Positions

Syntax

Syntax:
param call BIS_fnc_buildingPositions
Parameters:
param: Object
param: Number
Return Value:
Array

Examples

Example 1:
[_building] call BIS_fnc_buildingPositions;
Example 2:
[_building, _maxNumberOfPositions] call BIS_fnc_buildingPositions;

Additional Information

See also:
buildingPosbuildingExit

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