BIS fnc buildingPositions: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\|= * " to " ")
m (Text replacement - "<code>(\[[a-zA-Z0-9_, ]*\] )?\[\[(call|spawn)\]\] \[\[(BI[NS]\_fnc\_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1$2 $3;</sqf>")
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function


| arma3 |Game name=
|game1= arma3
|version1= 1.00


|1.00|Game version=
|gr1= Positions


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


| Get all available positions within a building or structure. |DESCRIPTION=
|s1= param call [[BIS_fnc_buildingPositions]]


| param call [[BIS_fnc_buildingPositions]]; |SYNTAX=
|p1= param: [[Object]]


|p1= param: [[Object]] |PARAMETER1=
|p2= param: [[Number]]


|p2= param: [[Number]] |PARAMETER2=
|r1= [[Array]]


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


|x2= <code>[_building, _maxNumberOfPositions] [[call]] [[BIS_fnc_buildingPositions]];</code>
|x2= <sqf>[_building, _maxNumberOfPositions] call BIS_fnc_buildingPositions;</sqf>
 
| [[buildingPos]], [[buildingExit]] |SEEALSO=


|seealso= [[buildingPos]] [[buildingExit]]
}}
}}
<h3 style="display:none">Bottom Section</h3>
[[Category:Functions|{{uc:buildingPositions}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:buildingPositions}}]]

Latest revision as of 13:04, 5 May 2022

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:
buildingPos buildingExit

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