BIS fnc showRespawnMenuDisableItem: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(\[[^ ]+\] (call|spawn) ('''|\[\[)BI(N|S)_fnc_[a-zA-Z0-9_]+('''|\]\]));? \| *p1 *=" to " |s1=$1 |p1=") |
Lou Montana (talk | contribs) m (Text replacement - " \[\[Category:\{\{Name\|arma3\}\}:[_ ]Functions\|[^ ]+\]\]" to "") |
||
Line 37: | Line 37: | ||
|seealso= [[BIS_fnc_addRespawnInventory]], [[BIS_fnc_addRespawnPosition]], [[Arma 3: Respawn]] | |seealso= [[BIS_fnc_addRespawnInventory]], [[BIS_fnc_addRespawnPosition]], [[Arma 3: Respawn]] | ||
}} | }} | ||
Revision as of 01:51, 13 June 2021
Description
- Description:
- Description needed
- Execution:
- call
- Groups:
- Respawn
Syntax
- Syntax:
- [mode, uiControl, listboxItem, message, respawnReference] 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
- listboxItem: Number or String - Index or name of item in the respawn loadout/role/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
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