Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Note
titleRequires tutorial mode

In order for this function to work, you need to be in tutorial mode. Activate tutorial mode with the setTutorialMode() function. 

Overview

Excerpt

This function allows you to enable a reticule button.

Syntax

Code Block
themeEclipse
languagejavascript
linenumberstrue
addReticuleButton(button);

Parameters

Image Added

ParameterTypeMandatoryDescription
buttonConstant(tick)

A constant defining which button to display:

Child pages (Children Display)
alltrue
depthall
pageReticule buttons
excerpttrue

Example

Code Block
themeEclipse
languagejavascript
titleEnable the research button
linenumberstrue
setTutorialMode(true);
addReticuleButton(RESEARCH);

See also