Lua API Reference: Global (0 methods)
Browse the complete Lua API documentation for the Global class. Search through 0 methods and 247 events to find the exact function signatures, parameters, and usage examples you need for your EQ-Emulator scripts.
Methods
Events
function event_aggro_say(e)
function event_cast(e)
-- Exports: e.spell, e.caster_id, e.caster_level, e.target_id, e.target
function event_cast_begin(e)
-- Exports: e.spell, e.caster_id, e.caster_level, e.target_id, e.target
function event_cast_on(e)
-- Exports: e.spell, e.caster_id, e.caster_level, e.target_id, e.target
function event_combat(e)
-- Exports: e.other, e.joined
function event_damage_given(e)
-- Exports: e.entity_id, e.damage, e.spell_id, e.skill_id, e.is_damage_shield, e.is_avoidable, e.buff_slot, e.is_buff_tic, e.special_attack, e.other
function event_damage_taken(e)
-- Exports: e.entity_id, e.damage, e.spell_id, e.skill_id, e.is_damage_shield, e.is_avoidable, e.buff_slot, e.is_buff_tic, e.special_attack, e.other
function event_death(e)
-- Exports: e.other, e.killer_id, e.damage, e.spell, e.skill, e.killed_entity_id
function event_death_complete(e)
-- Exports: e.other, e.killer_id, e.damage, e.spell, e.skill, e.killed_entity_id
function event_despawn(e)
function event_entity_variable_delete(e)
-- Exports: e.variable_name, e.variable_value, e.old_value, e.new_value
function event_entity_variable_set(e)
-- Exports: e.variable_name, e.variable_value, e.old_value, e.new_value
function event_entity_variable_update(e)
-- Exports: e.variable_name, e.variable_value, e.old_value, e.new_value
function event_equip_item_bot(e)
-- Exports: e.item_id, e.item_quantity, e.slot_id, e.item
function event_level_down(e)
-- Exports: e.levels_lost
function event_level_up(e)
-- Exports: e.levels_gained
function event_payload(e)
-- Exports: e.payload_id, e.payload_value
function event_popup_response(e)
-- Exports: e.other, e.popup_id
function event_say(e)
-- Exports: e.other, e.message, e.language
function event_signal(e)
-- Exports: e.signal
function event_slay(e)
-- Exports: e.other
function event_spawn(e)
function event_spell_blocked(e)
-- Exports: e.blocking_spell_id, e.cast_spell_id, e.blocking_spell, e.cast_spell
function event_target_change(e)
-- Exports: e.other
function event_timer(e)
-- Exports: e.timer
function event_timer_pause(e)
-- Exports: e.timer, e.duration
function event_timer_resume(e)
-- Exports: e.timer, e.duration
function event_timer_start(e)
-- Exports: e.timer, e.duration
function event_timer_stop(e)
-- Exports: e.timer
function event_trade(e)
-- Exports: e.other, e.platinum, e.gold, e.silver, e.copper, e.trade
function event_unequip_item_bot(e)
-- Exports: e.item_id, e.item_quantity, e.slot_id, e.item
function event_use_skill(e)
-- Exports: e.skill_id, e.skill_level
function event_encounter_load(e)
-- Exports: e.encounter, e.data
function event_encounter_unload(e)
-- Exports: e.data
function event_timer(e)
-- Exports: e.timer
function event_augment_insert(e)
-- Exports: e.item, e.slot_id
function event_augment_item(e)
-- Exports: e.aug, e.slot_id
function event_augment_remove(e)
-- Exports: e.item, e.slot_id, e.destroyed
function event_destroy_item(e)
function event_drop_item(e)
function event_equip_item(e)
-- Exports: e.slot_id
function event_item_click(e)
-- Exports: e.slot_id
function event_item_click_cast(e)
-- Exports: e.slot_id
function event_item_enter_zone(e)
function event_loot(e)
-- Exports: e.corpse
function event_scale_calc(e)
function event_timer(e)
-- Exports: e.timer
function event_timer_pause(e)
-- Exports: e.timer, e.duration
function event_timer_resume(e)
-- Exports: e.timer, e.duration
function event_timer_start(e)
-- Exports: e.timer, e.duration
function event_timer_stop(e)
-- Exports: e.timer
function event_unaugment_item(e)
-- Exports: e.aug, e.slot_id
function event_unequip_item(e)
-- Exports: e.slot_id
function event_weapon_proc(e)
-- Exports: e.target, e.spell
function event_aggro_say(e)
function event_cast(e)
function event_cast_begin(e)
function event_cast_on(e)
function event_combat(e)
function event_damage_given(e)
function event_damage_taken(e)
function event_death(e)
function event_death_complete(e)
function event_despawn(e)
function event_entity_variable_delete(e)
function event_entity_variable_set(e)
function event_entity_variable_update(e)
function event_payload(e)
function event_popup_response(e)
function event_say(e)
function event_signal(e)
function event_slay(e)
function event_spawn(e)
function event_target_change(e)
function event_timer(e)
function event_timer_pause(e)
function event_timer_resume(e)
function event_timer_start(e)
function event_timer_stop(e)
function event_use_skill(e)
function event_aggro_say(e)
-- Exports: e.other, e.message, e.language
function event_cast(e)
-- Exports: e.spell, e.caster_id, e.caster_level, e.target_id, e.target
function event_cast_begin(e)
-- Exports: e.spell, e.caster_id, e.caster_level, e.target_id, e.target
function event_cast_on(e)
-- Exports: e.spell, e.caster_id, e.caster_level, e.target_id, e.target
function event_charm_end(e)
-- Exports: e.other
function event_charm_start(e)
-- Exports: e.other
function event_combat(e)
-- Exports: e.other, e.joined
function event_damage_given(e)
-- Exports: e.entity_id, e.damage, e.spell_id, e.skill_id, e.is_damage_shield, e.is_avoidable, e.buff_slot, e.is_buff_tic, e.special_attack, e.other
function event_damage_taken(e)
-- Exports: e.entity_id, e.damage, e.spell_id, e.skill_id, e.is_damage_shield, e.is_avoidable, e.buff_slot, e.is_buff_tic, e.special_attack, e.other
function event_death(e)
-- Exports: e.other, e.killer_id, e.damage, e.spell, e.skill_id, e.killed_entity_id, e.combat_start_time, e.combat_end_time, e.damage_received, e.healing_received, e.corpse, e.killed
function event_death_complete(e)
-- Exports: e.other, e.killer_id, e.damage, e.spell, e.skill_id, e.killed_entity_id, e.combat_start_time, e.combat_end_time, e.damage_received, e.healing_received, e.corpse, e.killed
function event_death_zone(e)
-- Exports: e.other, e.killer_id, e.damage, e.spell, e.skill_id, e.killed_entity_id, e.combat_start_time, e.combat_end_time, e.damage_received, e.healing_received, e.corpse, e.killed
function event_despawn(e)
function event_despawn_zone(e)
-- Exports: e.other
function event_enter(e)
-- Exports: e.other
function event_enter_area(e)
-- Exports: e.area_id, e.area_type
function event_entity_variable_delete(e)
-- Exports: e.variable_name, e.variable_value, e.old_value, e.new_value
function event_entity_variable_set(e)
-- Exports: e.variable_name, e.variable_value, e.old_value, e.new_value
function event_entity_variable_update(e)
-- Exports: e.variable_name, e.variable_value, e.old_value, e.new_value
function event_exit(e)
-- Exports: e.other
function event_feign_death(e)
-- Exports: e.other
function event_hate_list(e)
-- Exports: e.other, e.joined
function event_hp(e)
-- Exports: e.hp_event, e.inc_hp_event
function event_killed_merit(e)
-- Exports: e.other
function event_leave_area(e)
-- Exports: e.area_id, e.area_type
function event_loot_added(e)
-- Exports: e.item, e.item_id, e.item_name, e.item_charges, e.augment_one, e.augment_two, e.augment_three, e.augment_four, e.augment_five, e.augment_six
function event_loot_zone(e)
-- Exports: e.other, e.item, e.corpse
function event_payload(e)
-- Exports: e.payload_id, e.payload_value
function event_pet_command(e)
-- Exports: e.pet_command, e.pet_command_name
function event_popup_response(e)
-- Exports: e.other, e.popup_id
function event_proximity_say(e)
-- Exports: e.other, e.message, e.language
function event_say(e)
-- Exports: e.other, e.message, e.language
function event_signal(e)
-- Exports: e.signal
function event_slay(e)
-- Exports: e.other
function event_spawn(e)
function event_spawn_zone(e)
-- Exports: e.other
function event_spell_blocked(e)
-- Exports: e.blocking_spell_id, e.cast_spell_id, e.blocking_spell, e.cast_spell
function event_target_change(e)
-- Exports: e.other
function event_task_accepted(e)
-- Exports: e.other, e.task_id
function event_tick(e)
function event_timer(e)
-- Exports: e.timer
function event_timer_pause(e)
-- Exports: e.timer, e.duration
function event_timer_resume(e)
-- Exports: e.timer, e.duration
function event_timer_start(e)
-- Exports: e.timer, e.duration
function event_timer_stop(e)
-- Exports: e.timer
function event_trade(e)
-- Exports: e.self, e.other, e.platinum, e.gold, e.silver, e.copper, e.trade
function event_waypoint_arrive(e)
-- Exports: e.other, e.wp
function event_waypoint_depart(e)
-- Exports: e.other, e.wp
function event_aa_buy(e)
-- Exports: e.aa_cost, e.aa_id, e.aa_previous_id, e.aa_next_id
function event_aa_exp_gain(e)
-- Exports: e.aa_exp_gained
function event_aa_gain(e)
-- Exports: e.aa_gained
function event_aa_loss(e)
-- Exports: e.aa_lost
function event_alt_currency_gain(e)
-- Exports: e.currency_id, e.amount, e.total
function event_alt_currency_loss(e)
-- Exports: e.currency_id, e.amount, e.total
function event_alt_currency_merchant_buy(e)
-- Exports: e.currency_id, e.npc_id, e.merchant_id, e.item_id, e.item_cost
function event_alt_currency_merchant_sell(e)
-- Exports: e.currency_id, e.npc_id, e.merchant_id, e.item_id, e.item_cost
function event_augment_insert_client(e)
-- Exports: e.item, e.augment, e.item_id, e.item_slot, e.augment_id, e.augment_slot
function event_augment_remove_client(e)
-- Exports: e.item, e.augment, e.item_id, e.item_slot, e.augment_id, e.augment_slot, e.destroyed
function event_bot_command(e)
-- Exports: e.bot_command, e.args
function event_bot_create(e)
-- Exports: e.bot_name, e.bot_id, e.bot_race, e.bot_class, e.bot_gender
function event_cast(e)
-- Exports: e.spell, e.caster_id, e.caster_level, e.target_id, e.target
function event_cast_begin(e)
-- Exports: e.spell, e.caster_id, e.caster_level, e.target_id, e.target
function event_cast_on(e)
-- Exports: e.spell, e.caster_id, e.caster_level, e.target_id, e.target
function event_click_door(e)
-- Exports: e.door
function event_click_object(e)
-- Exports: e.object
function event_combine(e)
-- Exports: e.container_slot
function event_combine_failure(e)
-- Exports: e.recipe_id, e.recipe_name
function event_combine_success(e)
-- Exports: e.recipe_id, e.recipe_name
function event_combine_validate(e)
-- Exports: e.recipe_id, e.validate_type, e.zone_id, e.tradeskill_id
function event_command(e)
-- Exports: e.command, e.args
function event_connect(e)
-- Exports: e.last_login, e.seconds_since_last_login, e.is_first_login
function event_consider(e)
-- Exports: e.entity_id, e.other
function event_consider_corpse(e)
-- Exports: e.corpse_entity_id, e.corpse
function event_crystal_gain(e)
-- Exports: e.ebon_amount, e.radiant_amount, e.is_reclaim
function event_crystal_loss(e)
-- Exports: e.ebon_amount, e.radiant_amount, e.is_reclaim
function event_damage_given(e)
-- Exports: e.entity_id, e.damage, e.spell_id, e.skill_id, e.is_damage_shield, e.is_avoidable, e.buff_slot, e.is_buff_tic, e.special_attack, e.other
function event_damage_taken(e)
-- Exports: e.entity_id, e.damage, e.spell_id, e.skill_id, e.is_damage_shield, e.is_avoidable, e.buff_slot, e.is_buff_tic, e.special_attack, e.other
function event_death(e)
-- Exports: e.other, e.killer_id, e.damage, e.spell, e.skill, e.killed_entity_id, e.combat_start_time, e.combat_end_time, e.damage_received, e.healing_received
function event_death_complete(e)
-- Exports: e.other, e.killer_id, e.damage, e.spell, e.skill, e.killed_entity_id, e.combat_start_time, e.combat_end_time, e.damage_received, e.healing_received
function event_destroy_item_client(e)
-- Exports: e.item_id, e.item_name, e.quantity, e.item
function event_disconnect(e)
function event_discover_item(e)
-- Exports: e.item
function event_drop_item_client(e)
-- Exports: e.slot_id, e.quantity, e.item_id, e.item_name, e.spell_id, e.item
function event_duel_lose(e)
-- Exports: e.other
function event_duel_win(e)
-- Exports: e.other
function event_enter(e)
function event_enter_area(e)
-- Exports: e.area_id, e.area_type
function event_enter_zone(e)
function event_entity_variable_delete(e)
-- Exports: e.variable_name, e.variable_value, e.old_value, e.new_value
function event_entity_variable_set(e)
-- Exports: e.variable_name, e.variable_value, e.old_value, e.new_value
function event_entity_variable_update(e)
-- Exports: e.variable_name, e.variable_value, e.old_value, e.new_value
function event_environmental_damage(e)
-- Exports: e.env_damage, e.env_damage_type, e.env_final_damage
function event_equip_item_client(e)
-- Exports: e.item_id, e.item_quantity, e.slot_id, e.item
function event_exit(e)
function event_exp_gain(e)
-- Exports: e.exp_gained
function event_feign_death(e)
-- Exports: e.other
function event_fish_failure(e)
function event_fish_start(e)
function event_fish_success(e)
-- Exports: e.item
function event_forage_failure(e)
function event_forage_success(e)
-- Exports: e.item
function event_gm_command(e)
-- Exports: e.message
function event_group_change(e)
function event_inspect(e)
-- Exports: e.other
function event_item_click_cast_client(e)
-- Exports: e.slot_id, e.item_id, e.item_name, e.spell_id, e.item
function event_item_click_client(e)
-- Exports: e.slot_id, e.item_id, e.item_name, e.spell_id, e.item
function event_language_skill_up(e)
-- Exports: e.skill_id, e.skill_value, e.skill_max
function event_ldon_points_gain(e)
-- Exports: e.theme_id, e.points
function event_ldon_points_loss(e)
-- Exports: e.theme_id, e.points
function event_leave_area(e)
-- Exports: e.area_id, e.area_type
function event_level_down(e)
-- Exports: e.levels_lost
function event_level_up(e)
-- Exports: e.levels_gained
function event_loot(e)
-- Exports: e.item, e.corpse
function event_memorize_spell(e)
-- Exports: e.slot_id, e.spell_id, e.spell
function event_merchant_buy(e)
-- Exports: e.npc_id, e.merchant_id, e.item_id, e.item_quantity, e.item_cost
function event_merchant_sell(e)
-- Exports: e.npc_id, e.merchant_id, e.item_id, e.item_quantity, e.item_cost
function event_payload(e)
-- Exports: e.payload_id, e.payload_value
function event_pet_command(e)
-- Exports: e.pet_command, e.pet_command_name
function event_player_pickup(e)
-- Exports: e.item
function event_popup_response(e)
-- Exports: e.popup_id
function event_read_item(e)
-- Exports: e.text_file, e.item_id, e.book_text, e.can_cast, e.can_scribe, e.slot_id, e.target_id, e.type, e.item
function event_respawn(e)
-- Exports: e.option, e.resurrect
function event_say(e)
-- Exports: e.message, e.language
function event_scribe_spell(e)
-- Exports: e.slot_id, e.spell_id, e.spell
function event_signal(e)
-- Exports: e.signal
function event_skill_up(e)
-- Exports: e.skill_id, e.skill_value, e.skill_max, e.is_tradeskill
function event_spell_blocked(e)
-- Exports: e.blocking_spell_id, e.cast_spell_id, e.blocking_spell, e.cast_spell
function event_target_change(e)
-- Exports: e.other
function event_task_accepted(e)
-- Exports: e.task_id
function event_task_before_update(e)
-- Exports: e.count, e.activity_id, e.task_id
function event_task_complete(e)
-- Exports: e.count, e.activity_id, e.task_id
function event_task_fail(e)
-- Exports: e.task_id
function event_task_stage_complete(e)
-- Exports: e.task_id, e.activity_id
function event_task_update(e)
-- Exports: e.count, e.activity_id, e.task_id
function event_test_buff(e)
function event_timer(e)
-- Exports: e.timer
function event_timer_pause(e)
-- Exports: e.timer, e.duration
function event_timer_resume(e)
-- Exports: e.timer, e.duration
function event_timer_start(e)
-- Exports: e.timer, e.duration
function event_timer_stop(e)
-- Exports: e.timer
function event_unequip_item_client(e)
-- Exports: e.item_id, e.item_quantity, e.slot_id, e.item
function event_unhandled_opcode(e)
-- Exports: e.packet, e.connecting
function event_unmemorize_spell(e)
-- Exports: e.slot_id, e.spell_id, e.spell
function event_unscribe_spell(e)
-- Exports: e.slot_id, e.spell_id, e.spell
function event_use_skill(e)
-- Exports: e.skill_id, e.skill_level
function event_warp(e)
-- Exports: e.from_x, e.from_y, e.from_z
function event_zone(e)
-- Exports: e.from_zone_id, e.from_instance_id, e.from_instance_version, e.zone_id, e.instance_id, e.instance_version
function event_spell_effect_buff_tic_client(e)
-- Exports: e.target, e.spell_id, e.caster_id, e.tics_remaining, e.caster_level, e.buff_slot, e.spell
function event_spell_effect_client(e)
-- Exports: e.target, e.spell_id, e.caster_id, e.tics_remaining, e.caster_level, e.buff_slot, e.spell
function event_spell_effect_translocate_complete(e)
-- Exports: e.target
function event_spell_fade(e)
-- Exports: e.target, e.spell_id, e.caster_id, e.tics_remaining, e.caster_level, e.buff_slot, e.spell
function event_click_door(e)
-- Exports: e.door, e.other
function event_click_object(e)
-- Exports: e.object, e.other
function event_death_zone(e)
-- Exports: e.other, e.killer_id, e.damage, e.spell, e.skill_id, e.killed_entity_id, e.combat_start_time, e.combat_end_time, e.damage_received, e.healing_received, e.corpse, e.killed
function event_despawn_zone(e)
-- Exports: e.other
function event_enter_zone(e)
-- Exports: e.other
function event_loot_zone(e)
-- Exports: e.other, e.item, e.corpse
function event_payload(e)
-- Exports: e.payload_id, e.payload_value
function event_player_pickup(e)
-- Exports: e.item, e.other
function event_popup_response(e)
-- Exports: e.popup_id, e.other
function event_signal(e)
-- Exports: e.signal
function event_spawn_zone(e)
-- Exports: e.other
function event_timer(e)
-- Exports: e.timer
function event_timer_pause(e)
-- Exports: e.timer, e.duration
function event_timer_resume(e)
-- Exports: e.timer, e.duration
function event_timer_start(e)
-- Exports: e.timer, e.duration
function event_timer_stop(e)