BIS fnc buildingPositions: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (template:command argument fix) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Get all available positions within a building or structure. |= | | Get all available positions within a building or structure. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| 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= | ||
| [[Array]] |= | | [[Array]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 24: | Line 24: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= | | [[buildingPos]], [[buildingExit]] |SEEALSO= | ||
}} | }} | ||
Line 36: | Line 36: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Function Group: Misc|{{uc:buildingPositions}}]] | |||
[[Category: | [[Category:Functions|{{uc:buildingPositions}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:buildingPositions}}]] |
Revision as of 15:28, 7 April 2019
Description
- Description:
- Get all available positions within a building or structure.
- Execution:
- call
- Groups:
- Uncategorised
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