Functions Documentation | |
Name | scrSetActionLabel |
Syntax | (scrSetActionLabel screen action label [key] [special]) |
Argument List | screen: The screen you want to change the action text on. action: The string ID of the action, or it's position starting at 0. label: string, what you want to change the text to. [key]: string, define which keystroke will trigger the action. [special]: list or token, special flags for this action |
Returns | condition: True is successful. |
Category | screen |
Description | Changes the given actions text to the string. |
Example |
(scrSetActionLabel gScreen   'myNewAction   "Do something extra cool"   "e"   (list 'default 'nextKey) ) Assumes action from scrAddAction example. |
Comment | Allows you to dynamically change the action labels. Â Â Special actions are 'cancel , 'default , 'nextKey , 'prevKey , or a list of these tokens. Â Â Special and the ability to use action id strings added in 1.04. |
17 visitors online |
Guest |
Guest |
Guest |
Guest |
Guest |
Guest |
Guest |
Guest |
Guest |
Guest |
Guest |
Guest |
Guest |
Guest |
Guest |
Guest |
Guest |
Mod of the Month (June '25) |
Featured Mods (random) |
Lego ship yellowjacket |
Emergency Escape Beacons |
Quality Mods (random) |
Item repair framework |
"PDmod" ICX Overhaul |
Balanced Mods (random) |
Captain's Log 3.1 |
"PDmod" ICX Overhaul |