BIS fnc getRespawnInventories: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "\[\[Arma 3 ([^ACHJKLMTZ|])([^|]+)\]\]" to "Arma 3: $1$2")
Line 23: Line 23:
|x2= <code>[[private]] _respawnInfo = [<nowiki/>[[west]], [[true]], [[false]]] [[call]] [[BIS_fnc_getRespawnInventories]];</code>
|x2= <code>[[private]] _respawnInfo = [<nowiki/>[[west]], [[true]], [[false]]] [[call]] [[BIS_fnc_getRespawnInventories]];</code>


|seealso= [[Arma 3 Respawn]], [[BIS_fnc_addRespawnInventory]], [[BIS_fnc_removeRespawnInventory]], [[BIS_fnc_setRespawnInventory]], [[BIS_fnc_getRespawnMarkers]], [[BIS_fnc_getRespawnPositions]]
|seealso= [[Arma 3: Respawn]], [[BIS_fnc_addRespawnInventory]], [[BIS_fnc_removeRespawnInventory]], [[BIS_fnc_setRespawnInventory]], [[BIS_fnc_getRespawnMarkers]], [[BIS_fnc_getRespawnPositions]]
}}
}}

Revision as of 21:07, 7 April 2021

Hover & click on the images for description

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:
Return value needed

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