Lua functions

Spawn

Historical function name; no current lua_register binding was found.

Historical signature: Spawn(zone, spawn_id, x, y, z, heading)

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

Function: Spawn(zone, spawn_id, x, y, z, heading)

Description: Create's a new Spawn from the spawn database table based on the spawn_id (id parameter in the database).

Parameters:

  • zone (Zone) - Zone object representing zone.
  • spawn_id (uint32) - Integer value spawn_id.
  • x (int32) - Integer value x.
  • y (int32) - Integer value y.
  • z (int32) - Integer value z.
  • heading (int32) - Integer value heading.

Returns: None.

Checked example

No checked example is published for this function yet. No active lua_register binding in this checkout.

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