BIS fnc getRespawnInventories: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Arma 3 ([^ACHJKLMTZ|])([^|]+)\]\]" to "Arma 3: $1$2") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=") |
||
Line 17: | Line 17: | ||
|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 | |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 | ||
| [[Array]] of [[String]] | |r1=[[Array]] of [[String]] | ||
|x1= <code>[[private]] _respawnInfo = [<nowiki/>[[player]]] [[call]] [[BIS_fnc_getRespawnInventories]];</code> | |x1= <code>[[private]] _respawnInfo = [<nowiki/>[[player]]] [[call]] [[BIS_fnc_getRespawnInventories]];</code> |
Revision as of 20:27, 10 June 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Respawn
Syntax
- Syntax:
- Syntax needed
- 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:
private _respawnInfo = [player] call BIS_fnc_getRespawnInventories;
- Example 2:
private _respawnInfo = [west, true, false] call BIS_fnc_getRespawnInventories;
Additional Information
- See also:
- Arma 3: RespawnBIS_fnc_addRespawnInventoryBIS_fnc_removeRespawnInventoryBIS_fnc_setRespawnInventoryBIS_fnc_getRespawnMarkersBIS_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