ScriptEventSelector
Alias of ProjectionEventSelector. The resolved members are listed below.
type ScriptEventSelector = {
readonly type: "login" | "logout";
} | {
readonly afk?: boolean;
readonly entityId?: number;
readonly type: "player-afk";
readonly username?: string;
} | {
readonly type: "join-map";
} | {
readonly type: "item-drop";
} | {
readonly questId?: number;
readonly type: "quest-complete";
} | {
readonly monsterMapId?: number;
readonly type: "monster-death" | "monster-respawn";
} | {
readonly entityId?: number;
readonly type: "player-death";
readonly username?: string;
} | {
readonly entityId?: number;
readonly kind?: "cell" | "position" | "walk";
readonly type: "player-location";
readonly username?: string;
} | {
readonly type: "players-changed";
} | {
readonly duration?: number;
readonly icon?: string;
readonly name?: string;
readonly sourceId?: number;
readonly sourceType?: "monster" | "player";
readonly targetId?: number;
readonly targetType?: "monster" | "player";
readonly type: "aura-added" | "aura-removed";
} | {
readonly durationMs?: number;
readonly monsterMapId?: number;
readonly source?: "aura" | "message";
readonly triggerId?: string;
readonly triggerText?: string;
readonly type: "counter-attack-start";
} | {
readonly monsterMapId?: number;
readonly source?: "aura" | "message";
readonly triggerId?: string;
readonly triggerText?: string;
readonly type: "counter-attack-end";
} | {
readonly animation?: string;
readonly message?: string;
readonly monsterMapId?: number;
readonly source?: "animation" | "aura";
readonly type: "update-message";
} | {
readonly map?: string;
readonly type: "zone";
readonly zone?: string;
}
Defined in ScriptApi.ts:108