Lua functions

SummonDeityPet

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

Historical signature: SummonDeityPet(spawn, pet_id)

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

Function: SummonDeityPet(spawn, pet_id)

Description: Summon a deity pet with the pet_id (spawn database id).

Parameters:

  • spawn (Spawn) - Spawn object reference spawn.
  • pet_id (uint32) - Integer value pet_id.

Returns: None.

Checked example

No checked example is published for this function yet. No suitable maintained runtime-script example passed the argument and source review.

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