BIS fnc getRespawnInventories: Difference between revisions
Jump to navigation
Jump to search
m (added information) |
Lou Montana (talk | contribs) m (Text replacement - "= <code>([^<{]+)<\/code>" to "= <sqf>$1</sqf>") |
||
(35 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | |||
|game1= arma3 | |||
|version1= 1.60 | |||
| | |gr1= Respawn | ||
| | |descr= Return respawn inventories available for the given target. | ||
| | |s1= [target, showDisabled, returnAllInfo] call [[BIS_fnc_getRespawnInventories]] | ||
|p1= target: [[Namespace]], [[Side]], [[Group]] or [[Object]] | |||
|p2= showDisabled: [[Boolean]] - (Optional, default [[false]]) [[true]] to show even inventories disabled by curator | |||
|p3= returnAllInfo: [[Boolean]] - (Optional, default [[false]]) [[true]] to return namespace, inventory and role limits (used in the new respawn screen), [[false]] to return only inventories | |||
|r1= [[Array]] of [[String]] | |||
| < | |x1= <sqf>private _respawnInfo = [player] call BIS_fnc_getRespawnInventories;</sqf> | ||
| | |x2= <sqf>private _respawnInfo = [west, true, false] call BIS_fnc_getRespawnInventories;</sqf> | ||
|seealso= [[Arma 3: Respawn]] [[BIS_fnc_addRespawnInventory]] [[BIS_fnc_removeRespawnInventory]] [[BIS_fnc_setRespawnInventory]] [[BIS_fnc_getRespawnMarkers]] [[BIS_fnc_getRespawnPositions]] | |||
}} | }} | ||
Latest revision as of 17:00, 13 July 2022
Description
- Description:
- Return respawn inventories available for the given target.
- Execution:
- call
- Groups:
- Respawn
Syntax
- Syntax:
- [target, showDisabled, returnAllInfo] call BIS_fnc_getRespawnInventories
- Parameters:
- target: Namespace, Side, Group or Object
- showDisabled: Boolean - (Optional, default false) true to show even inventories disabled by curator
- returnAllInfo: Boolean - (Optional, default false) true to return namespace, inventory and role limits (used in the new respawn screen), false to return only inventories
- Return Value:
- Array of String
Examples
- Example 1:
- Example 2:
Additional Information
- See also:
- Arma 3: Respawn BIS_fnc_addRespawnInventory BIS_fnc_removeRespawnInventory BIS_fnc_setRespawnInventory BIS_fnc_getRespawnMarkers BIS_fnc_getRespawnPositions
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