Lua functions

GetSpawnByRailID

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

Historical signature: GetSpawnByRailID(zone, rail_id)

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

Function: GetSpawnByRailID(zone, rail_id)

Description: Gets a spawn in a zone by its rail_id.

Parameters:

  • zone (Zone) - Zone object representing zone.
  • rail_id (int64) - Integer value rail_id.

Returns: Spawn object reference.

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.