Other great resources: Official JS API docs, Scripting Forum
addReticuleButton()
Enable a reticule button...
Syntax
addReticuleButton(button);Parameters
Parameter | Type | Mandatory | Description | Game version |
|---|---|---|---|---|
button | Constant | A constant defining which button to display: For more information, see: | 3.1 Beta 1 |
Return value
Value | Type | Description | Game version |
|---|---|---|---|
| Undefined | The reticule button was added (or was already present) | 3.1 Beta 1 |
<error> | Error | The "button" parameter contained an invalid constant. | 3.1 Beta 1 |
Example
Enable the research button
setTutorialMode(true);
addReticuleButton(RESEARCH);