Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Comment:
Migrated to Confluence 5.3
Excerpt |
---|
Enable a reticule button... |
Syntax
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
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 | 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
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
setTutorialMode(true); addReticuleButton(RESEARCH); |
Div | ||
---|---|---|
| ||
In order for this function to work, you need to be in tutorial mode. Activate tutorial mode it with the setTutorialMode() function. |
Div | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Availability
Requires:
|
Div | ||||
---|---|---|---|---|
| ||||
ContentsJump to:
|
Div | ||
---|---|---|
| ||
See alsoRelated articles:
|