BIS fnc buildingPositions: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 7: Line 6:


|gr1 = Positions |GROUP1=
|gr1 = Positions |GROUP1=
____________________________________________________________________________________________


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


| param call [[BIS_fnc_buildingPositions]]; |SYNTAX=
| param call [[BIS_fnc_buildingPositions]]; |SYNTAX=
Line 19: Line 16:


| [[Array]] |RETURNVALUE=
| [[Array]] |RETURNVALUE=
____________________________________________________________________________________________
   
   
|x1= <code>[_building] [[call]] [[BIS_fnc_buildingPositions]];</code> |Example1=
|x1= <code>[_building] [[call]] [[BIS_fnc_buildingPositions]];</code> |Example1=


|x2= <code>[_building, _maxNumberOfPositions] [[call]] [[BIS_fnc_buildingPositions]];</code> |=  
|x2= <code>[_building, _maxNumberOfPositions] [[call]] [[BIS_fnc_buildingPositions]];</code> |=  
____________________________________________________________________________________________


| [[buildingPos]], [[buildingExit]] |SEEALSO=
| [[buildingPos]], [[buildingExit]] |SEEALSO=

Revision as of 23:42, 16 January 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

Notes

Bottom Section