Lua functions

CreatePersistedRespawn

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

Historical signature: CreatePersistedRespawn(location_id, spawn_type, respawn_time, zone_id)

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

Function: CreatePersistedRespawn(location_id, spawn_type, respawn_time, zone_id)

Description: Creates a persisted respawn time if the zone shuts down, the time will be persisted.

Parameters:

  • location_id (uint32) - Integer value location_id.
  • spawn_type (uint32) - Integer value spawn_type.
  • respawn_time (uint32) - Time value respawn_time in seconds.
  • zone_id (uint32) - Integer value zone_id.

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.