Emotes

Methods to interact with the emotes gametab.

_images/emotes.png

TRSEmotes

Main record responsible with handling the emotes gametab.


ERSEmote

ERSEmote = enum(YES, NO, BOW, ANGRY, ..., FORTIS_SALUTE, SIT_DOWN, CRAB_DANCE);

Enum representing all the available emotes in the game.


Emotes.IsOpen

function TRSEmotes.IsOpen(): Boolean;

Returns true if the Emotes tab is open.

Example:

WriteLn Emotes.IsOpen();

Emotes.Open

function TRSEmotes.Open(): Boolean;

Attempts to open the emotes tab.

Example:

Emotes.Open();

Emotes.UseEmote

function TRSEmotes.UseEmote(emote: ERSEmote): Boolean;

Attempts to use the specified emote. Returns true if we succeed.

Example:

WriteLn Emotes.UseEmote(ERSEmote.DANCE);

Emotes variable

Global TRSEmotes variable.