BIS fnc buildingPositions: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\|= * " to " ") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.00 | |1.00 | ||
|gr1 = Positions | |gr1 = Positions | ||
| Get all available positions within a building or structure. | | Get all available positions within a building or structure. | ||
| param call [[BIS_fnc_buildingPositions]]; | | param call [[BIS_fnc_buildingPositions]]; | ||
|p1= param: [[Object]] | |p1= param: [[Object]] | ||
|p2= param: [[Number]] | |p2= param: [[Number]] | ||
| [[Array]] | | [[Array]] | ||
|x1= <code>[_building] [[call]] [[BIS_fnc_buildingPositions]];</code> | |x1= <code>[_building] [[call]] [[BIS_fnc_buildingPositions]];</code> | ||
|x2= <code>[_building, _maxNumberOfPositions] [[call]] [[BIS_fnc_buildingPositions]];</code> | |x2= <code>[_building, _maxNumberOfPositions] [[call]] [[BIS_fnc_buildingPositions]];</code> | ||
| [[buildingPos]], [[buildingExit]] | | [[buildingPos]], [[buildingExit]] | ||
}} | }} |
Revision as of 22:38, 17 January 2021
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