BIS_fnc_showRespawnMenuDisableItem

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version1.60
  Effects of this scripting function are broadcasted over the network and happen on every computer in the network

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.60

Description

Description:
Limits respawn loadout or role for Arma 3 Respawn.
  • Only role or only loadout can be limited at one moment, if there is limit for both, then only role uses limit.
  • If the limit definition for role is called multiple times with different numbers, then the highest number is used.

Syntax

Syntax:
[mode, uiControl, item, message] call BIS_fnc_showRespawnMenuDisableItem;
Parameters:
mode: String - Available options are disable, enable and state
uiControl: Control - List in which item should be disabled/enabled
  • BIS_RscRespawnControlsMap_ctrlLocList
  • BIS_RscRespawnControlsMap_ctrlRoleList
  • BIS_RscRespawnControlsMap_ctrlComboLoadout
item: Number or String - Index or name of item in the list
message: String - (Optional) Message shown when disabled item is selected
Return Value:

Examples

Example 1:
["disable",uiNamespace getVariable "BIS_RscRespawnControlsMap_ctrlRoleList",2,"Restricted for this part of mission!"] call BIS_fnc_showRespawnMenuDisableItem;

Additional Information

Execution:
call
Multiplayer:
-
See also:
BIS_fnc_addRespawnInventoryBIS_fnc_addRespawnPositionArma 3 Respawn

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section