BIS fnc buildingPositions: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (template:command argument fix) |
||
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]] |= Parameter 1 | |p1= param: [[Object]] |= Parameter 1 | ||
Line 16: | Line 16: | ||
|p2= param: [[Number]] |= Parameter 2 | |p2= param: [[Number]] |= Parameter 2 | ||
| [[Array]] |= | | [[Array]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 24: | Line 24: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[buildingPos]], [[buildingExit]] |= | | [[buildingPos]], [[buildingExit]] |SEEALSO= | ||
}} | }} |
Revision as of 11:26, 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