Skip to content

Gump hook object class Orion Assistant

Hotride edited this page Dec 8, 2019 · 2 revisions

Command format:

ReturnType NameSpace.name(requiredParameters, [optionalParameters=defaultValue]);

  • ReturnType - the return value of the function (void - the function returns nothing);

  • NameSpace - the scope of the function;

  • name - the name of the function;

  • requiredParameters - required parameters;

  • optionalParameters - optional parameters, the default value is indicated after the = sign


int hook.Index();

Returns button index to select by this hook.


void hook.AddEntry(index, 'text');

Adds a TextEntry hook by index and inputs text string.

index - index of text entry.

text - text entry input string.


void hook.AddCheck(index, state);

Adds a hook for radio/checkbox and sets the state.

index - button index.

state - input state ( true/false).

Clone this wiki locally