Lua functions

AddRespawn

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

Historical signature: AddRespawn(zone, location_id, respawn_time)

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

Function: AddRespawn(zone, location_id, respawn_time)

Description: Creates a new respawn using the location_id for the Zone and sets the respawn_time provided.

Parameters:

  • zone (Zone) - Zone object representing zone.
  • location_id (uint32) - Integer value location_id.
  • respawn_time (int32) - Time value respawn_time in seconds.

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.