Functions Documentation
View Function Edit Function
Name scrEnableAction
Syntax (scrEnableAction screen action enabled) -> success
Argument List screen: The screen where you want to enable or disable an action.
action: The string action ID or number (zero is top) of the action.
enabled: If Nil disables the action otherwise enables the action.
Returns success: True if successful.
Category screen
Description Enables or disables actions on the screen. A disabled action looks grayed out and can not be selected.
Example
(scrEnableAction gScreen 0 Nil)
Disables the top action on the calling screen.
(scrEnableAction gscreen 'myNewAction true)


Enables the action from the scrAddAction example.
Comment Basic screen function that allows you to control what the player can and can not select.
  
Acility to use a string action ID added in 1.04.