Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Comment:
Migrated to Confluence 5.3
Excerpt |
---|
Disable a reticule button... |
Syntax
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
removeReticuleButton(button); |
Parameters
Parameter | Type | Mandatory | Description | Game version | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
button | Constant | A constant defining which button to hide: Image Added For more information, see:
| 3.1 Beta 1 |
Return value
Value | Type | Description | Game version |
---|---|---|---|
undefined | Undefined | The reticule button was removed (or was already hidden) | 3.1 Beta 1 |
<error> | Error | The "button" parameter contained an invalid constant. | 3.1 Beta 1 |
Example
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
setTutorialMode(true);
removeReticuleButton(RESEARCH); |
Div | ||
---|---|---|
| ||
In order for this function to work, you need to be in tutorial mode. Activate it with setTutorialMode(). |
Div | ||||||
---|---|---|---|---|---|---|
| ||||||
Availability
Requires:
|
Div | ||||
---|---|---|---|---|
| ||||
ContentsJump to:
|
Div | ||
---|---|---|
| ||
See alsoRelated articles:
|