Skip to content

Lua [NPC]

EVENT_AGGRO_SAY

function EVENT_AGGRO_SAY(e) {
    eq.debug("other " .. e.other);
    eq.debug("message " .. e.message);
    eq.debug("language " .. e.language);
}

EVENT_CAST

function EVENT_CAST(e) {
    eq.debug("spell " .. e.spell);
}

EVENT_CAST_BEGIN

function EVENT_CAST_BEGIN(e) {
    eq.debug("spell " .. e.spell);
}

EVENT_CAST_ON

function EVENT_CAST_ON(e) {
    eq.debug("spell " .. e.spell);
}

EVENT_COMBAT

function EVENT_COMBAT(e) {
    eq.debug("other " .. e.other);
    eq.debug("joined " .. e.joined);
}

EVENT_DEATH

function EVENT_DEATH(e) {
    eq.debug("other " .. e.other);
    eq.debug("damage " .. e.damage);
    eq.debug("spell " .. e.spell);
    eq.debug("skill_id " .. e.skill_id);
}

EVENT_DEATH_COMPLETE

function EVENT_DEATH_COMPLETE(e) {
    eq.debug("other " .. e.other);
    eq.debug("damage " .. e.damage);
    eq.debug("spell " .. e.spell);
    eq.debug("skill_id " .. e.skill_id);
}

EVENT_DEATH_ZONE

function EVENT_DEATH_ZONE(e) {
}

EVENT_ENTER

function EVENT_ENTER(e) {
    eq.debug("other " .. e.other);
}

EVENT_ENTER_AREA

function EVENT_ENTER_AREA(e) {
    eq.debug("area_id " .. e.area_id);
    eq.debug("area_type " .. e.area_type);
}

EVENT_EXIT

function EVENT_EXIT(e) {
    eq.debug("other " .. e.other);
}

EVENT_FEIGN_DEATH

function EVENT_FEIGN_DEATH(e) {
    eq.debug("other " .. e.other);
}

EVENT_HATE_LIST

function EVENT_HATE_LIST(e) {
    eq.debug("other " .. e.other);
    eq.debug("joined " .. e.joined);
}

EVENT_HP

function EVENT_HP(e) {
    eq.debug("hp_event " .. e.hp_event);
    eq.debug("inc_hp_event " .. e.inc_hp_event);
}

EVENT_KILLED_MERIT

function EVENT_KILLED_MERIT(e) {
    eq.debug("other " .. e.other);
}

EVENT_LEAVE_AREA

function EVENT_LEAVE_AREA(e) {
    eq.debug("area_id " .. e.area_id);
    eq.debug("area_type " .. e.area_type);
}

EVENT_LOOT_ZONE

function EVENT_LOOT_ZONE(e) {
    eq.debug("other " .. e.other);
    eq.debug("item " .. e.item);
    eq.debug("corpse " .. e.corpse);
}

EVENT_POPUP_RESPONSE

function EVENT_POPUP_RESPONSE(e) {
    eq.debug("other " .. e.other);
    eq.debug("popup_id " .. e.popup_id);
}

EVENT_PROXIMITY_SAY

function EVENT_PROXIMITY_SAY(e) {
    eq.debug("other " .. e.other);
    eq.debug("message " .. e.message);
    eq.debug("language " .. e.language);
}

EVENT_SAY

function EVENT_SAY(e) {
    eq.debug("other " .. e.other);
    eq.debug("message " .. e.message);
    eq.debug("language " .. e.language);
}

EVENT_SIGNAL

function EVENT_SIGNAL(e) {
    eq.debug("signal " .. e.signal);
}

EVENT_SLAY

function EVENT_SLAY(e) {
    eq.debug("other " .. e.other);
}

EVENT_SPAWN

function EVENT_SPAWN(e) {
}

EVENT_SPAWN_ZONE

function EVENT_SPAWN_ZONE(e) {
}

EVENT_TARGET_CHANGE

function EVENT_TARGET_CHANGE(e) {
    eq.debug("other " .. e.other);
}

EVENT_TASK_ACCEPTED

function EVENT_TASK_ACCEPTED(e) {
    eq.debug("other " .. e.other);
    eq.debug("task_id " .. e.task_id);
}

EVENT_TICK

function EVENT_TICK(e) {
}

EVENT_TIMER

function EVENT_TIMER(e) {
    eq.debug("timer " .. e.timer);
}

EVENT_TRADE

function EVENT_TRADE(e) {
    eq.debug("other " .. e.other);
    eq.debug("platinum " .. e.platinum);
    eq.debug("gold " .. e.gold);
    eq.debug("silver " .. e.silver);
    eq.debug("copper " .. e.copper);
    eq.debug("trade " .. e.trade);
}

EVENT_WAYPOINT_ARRIVE

function EVENT_WAYPOINT_ARRIVE(e) {
    eq.debug("other " .. e.other);
    eq.debug("wp " .. e.wp);
}

EVENT_WAYPOINT_DEPART

function EVENT_WAYPOINT_DEPART(e) {
    eq.debug("other " .. e.other);
    eq.debug("wp " .. e.wp);
}
Back to top