sysEvent

Event IDs to be returned in 'type' member of wait_for_event result.

Including Code

include "include/sysEvent";

These are system events.

CONST SYSEVENT_SPEECH               := 0x00000001;

CONST SYSEVENT_ENGAGED              := 0x00000002;
CONST SYSEVENT_DISENGAGED           := 0x00000004;

CONST SYSEVENT_DAMAGED              := 0x00000008;

CONST SYSEVENT_ENTEREDAREA          := 0x00000010;
CONST SYSEVENT_LEFTAREA             := 0x00000020;

CONST SYSEVENT_OPPONENT_MOVED       := 0x00000040;

CONST SYSEVENT_HOSTILE_MOVED        := 0x00000080; // not implemented

CONST SYSEVENT_MERCHANT_BOUGHT      := 0x00000100;
CONST SYSEVENT_MERCHANT_SOLD        := 0x00000200;

CONST SYSEVENT_ITEM_GIVEN           := 0x00000400;

CONST SYSEVENT_DOUBLECLICKED        := 0x00000800;

CONST SYSEVENT_GHOST_SPEECH         := 0x00001000;

CONST SYSEVENT_GONE_CRIMINAL        := 0x00002000;

CONST SYSEVENT_TOKEN_SPEECH         := 0x00004000;
CONST SYSEVENT_TOKEN_GHOST_SPEECH   := 0x00008000;

CONST SYSEVENT_RESERVED_00010000    := 0x00010000;
CONST SYSEVENT_RESERVED_00020000    := 0x00020000;
CONST SYSEVENT_RESERVED_00040000    := 0x00040000;
CONST SYSEVENT_RESERVED_00080000    := 0x00080000;
CONST SYSEVENT_RESERVED_00100000    := 0x00100000;
CONST SYSEVENT_RESERVED_00200000    := 0x00200000;
CONST SYSEVENT_RESERVED_00400000    := 0x00400000;
CONST SYSEVENT_RESERVED_00800000    := 0x00800000;
CONST SYSEVENT_RESERVED_01000000    := 0x01000000;
CONST SYSEVENT_RESERVED_02000000    := 0x02000000;
CONST SYSEVENT_RESERVED_04000000    := 0x04000000;
CONST SYSEVENT_RESERVED_08000000    := 0x08000000;
CONST SYSEVENT_RESERVED_10000000    := 0x10000000;
CONST SYSEVENT_RESERVED_20000000    := 0x20000000;
CONST SYSEVENT_RESERVED_40000000    := 0x40000000;
CONST SYSEVENT_RESERVED_80000000    := 0x80000000;

Last updated

Was this helpful?