BIS fnc showRespawnMenuDisableItem: Difference between revisions
Jump to navigation
Jump to search
(added missing parameter with descriptions & updated example) |
No edit summary |
||
Line 29: | Line 29: | ||
|x1= <code><nowiki>[</nowiki> | |x1= <code><nowiki>[</nowiki> | ||
"disable", | "disable", | ||
uiNamespace getVariable " | uiNamespace getVariable "BIS_RscRespawnControlsMap_ctrlLocList", | ||
2, | 2, | ||
"Restricted for this part of mission!", | "Restricted for this part of mission!", |
Revision as of 18:27, 28 January 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Respawn
Syntax
- Syntax:
- Syntax needed
- 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
- listboxItem: Number or String - Index or name of item in the respawn position listbox
- message: String - Message shown when disabled item is selected, use "" for default message
- respawnReference: String - Reference to respawn position either Marker name or Object var name
- Return Value:
- Return value needed
Examples
- Example 1:
[ "disable", uiNamespace getVariable "BIS_RscRespawnControlsMap_ctrlLocList", 2, "Restricted for this part of mission!", myRespawnModule call BIS_fnc_objectVar ] call BIS_fnc_showRespawnMenuDisableItem;
Additional Information
- See also:
- See also needed
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