BIS fnc buildingPositions: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
Lou Montana (talk | contribs) m (Text replacement - "<code>(\[[a-zA-Z0-9_, ]*\] )?\[\[(call|spawn)\]\] \[\[(BI[NS]\_fnc\_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1$2 $3;</sqf>") |
||
(28 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=function | ||
| arma3 |= | |game1= arma3 | ||
|version1= 1.00 | |||
| | |gr1= Positions | ||
| Get all available positions within a building or structure. | |descr= Get all available positions within a building or structure. | ||
| param call [[BIS_fnc_buildingPositions]] | |s1= param call [[BIS_fnc_buildingPositions]] | ||
|p1= param: [[Object]] | |p1= param: [[Object]] | ||
|p2= param: [[Number]] | |p2= param: [[Number]] | ||
| [[Array]] | |r1= [[Array]] | ||
| | |x1= <sqf>[_building] call BIS_fnc_buildingPositions;</sqf> | ||
| [ | |x2= <sqf>[_building, _maxNumberOfPositions] call BIS_fnc_buildingPositions;</sqf> | ||
|seealso= [[buildingPos]] [[buildingExit]] | |||
}} | }} | ||
Latest revision as of 13:04, 5 May 2022
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:
- Example 2:
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