Disable a reticule button...

 

Syntax

removeReticuleButton(button);

Parameters

ParameterTypeMandatoryDescriptionGame version
buttonConstant(tick)

A constant defining which button to hide:

For more information, see:

3.1 Beta 1

Return value

ValueTypeDescriptionGame version
undefinedUndefinedThe reticule button was removed (or was already hidden)3.1 Beta 1
<error>ErrorThe "button" parameter contained an invalid constant.3.1 Beta 1

Example

setTutorialMode(true);
removeReticuleButton(RESEARCH);

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

Availability

Requires:

  • Warzone 3.1 Beta 1 and above.
Contents

Jump to:

See also

Related articles: