Lua functions
612 matching entries. Names and bindings reflect this WorldServer checkout. Historical parameter details are under review.
Lua script modules
Shared helpers defined by Lua scripts, available after explicitly loading their modules.
NPCModule → NPC initialization, orc clan appearances, and common orc equipment presets.
DialogModule → NPC conversations, response callbacks, voiceovers, emotes, and player requirements.
MovementModule → Waypoint routes, formation following, and location-based random movement.
NPC appearance examples: Bloodskull(NPC) and OrcArmorCommon(NPC).
| Function | Historical signature | Current binding | Example review |
|---|---|---|---|
SummonItem | SummonItem(spawn, item_id, location, item_count) | EQ2Emu_lua_SummonItem | Checked call |
SummonPet | SummonPet(spawn, pet_id, max_level) | EQ2Emu_lua_SummonPet | Checked call |
ToggleCharacterFlag | ToggleCharacterFlag(player, flag_id) | EQ2Emu_lua_ToggleCharacterFlag | Under review |
ToggleFollow | ToggleFollow(spawn) | EQ2Emu_lua_ToggleFollow | Checked call |
ToggleTracking | ToggleTracking(spawn) | EQ2Emu_lua_ToggleTracking | Checked call |
UnequipSlot | UnequipSlot(…) via current binding | EQ2Emu_lua_UnequipSlot | Under review |
UpdateQuestDescription | UpdateQuestDescription(quest, description) | EQ2Emu_lua_UpdateQuestDescription | Checked call |
UpdateQuestStepDescription | UpdateQuestStepDescription(quest, step, description) | EQ2Emu_lua_UpdateQuestStepDescription | Checked call |
UpdateQuestTaskGroupDescription | UpdateQuestTaskGroupDescription(quest, step, description) | EQ2Emu_lua_UpdateQuestTaskGroupDescription | Checked call |
UpdateQuestZone | UpdateQuestZone(quest, zone) | EQ2Emu_lua_UpdateQuestZone | Checked call |
UseWidget | UseWidget(widget) | EQ2Emu_lua_UseWidget | Checked call |
Zone | Zone(zone, player, x, y, z, heading) | EQ2Emu_lua_Zone | Checked call |
Current source: WorldServer/Lua/LuaInterface.cpp.