Lua functions

DespawnByLocationID

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

Historical signature: DespawnByLocationID(zone, location_id, delay)

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

Function: DespawnByLocationID(zone, location_id, delay)

Description: Despawns a spawn by a zone and location_id. If there is a delay specified then the despawn triggers after the delay.

Parameters:

  • zone (Zone) - Zone object representing zone.
  • location_id (uint32) - Integer value location_id.
  • delay (uint32) - Integer value delay.

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.