Lua functions

PlayFlavorID

Registered in this checkout as EQ2Emu_lua_PlayFlavorID; implementation found at WorldServer/Lua/LuaFunctions.cpp:222.

Historical signature: PlayFlavorID(spawn, type, id, index, player, language)

Parameter and behavior details in the historical explanation are under review against the current implementation.

Function: PlayFlavorID(spawn, type, id, index, player, language)

Description: Uses the database dialog_play_flavors and dialog_play_voices.

Parameters:

  • spawn (Spawn) - Spawn object representing spawn.
  • type (int32) - Integer value type.
  • id (uint32) - Integer value id.
  • index (int32) - Integer value index.
  • player (Spawn) - Spawn object representing player.
  • language (int32) - Integer value language.

Returns: None.

Checked example

No checked example is published for this function yet. No active script call with the current C++ argument count was found.

Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.