BIS fnc respawnMenuInventory: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *P([a-gi-z ])" to "$1 - p$2")
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function
{{RV|type=function


|game1= arma3
|game1= arma3
|version1= 1.00
|version1= 1.00


|gr1 = Respawn |GROUP1=
|gr1= Respawn


|descr= Handles respawn inventory menu.
|descr= Handles respawn inventory menu.
Line 11: Line 10:
|s1= [player, respawnDelay, revive] call [[BIS_fnc_respawnMenuInventory]]
|s1= [player, respawnDelay, revive] call [[BIS_fnc_respawnMenuInventory]]


|p1= player: [[Object]] - Player unit
|p1= player: [[Object]] - player unit


|p2= respawnDelay: [[Number]] - (Optional, default 3) Respawn delay
|p2= respawnDelay: [[Number]] - (Optional, default 3) respawn delay


|p3= revive: [[Boolean]] - (Optional, default [[false]]) If unit was revived
|p3= revive: [[Boolean]] - (Optional, default [[false]]) if unit was revived


|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code><nowiki>[</nowiki>[[player]],5] [[call]] [[BIS_fnc_respawnMenuInventory]];</code>
|x1= <sqf>[player,5] call BIS_fnc_respawnMenuInventory;</sqf>
 
|exec= call
 
|seealso= [[Arma 3 Respawn]]


|seealso= [[Arma 3: Respawn]]
}}
}}
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Respawn|{{uc:respawnMenuInventory}}]]
[[Category:Functions|{{uc:respawnMenuInventory}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:respawnMenuInventory}}]]

Latest revision as of 15:45, 8 November 2023

Hover & click on the images for description

Description

Description:
Handles respawn inventory menu.
Execution:
call
Groups:
Respawn

Syntax

Syntax:
[player, respawnDelay, revive] call BIS_fnc_respawnMenuInventory
Parameters:
player: Object - player unit
respawnDelay: Number - (Optional, default 3) respawn delay
revive: Boolean - (Optional, default false) if unit was revived
Return Value:
Nothing

Examples

Example 1:
[player,5] call BIS_fnc_respawnMenuInventory;

Additional Information

See also:
Arma 3: Respawn

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