Lua functions

AddTransportSpawn

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

Historical signature: AddTransportSpawn(spawn)

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

Function: AddTransportSpawn(spawn)

Description:

Add's the spawn as a transport spawn in the zone.

Parameters:

  • spawn (Spawn) - Spawn object representing spawn.

Returns: None.

Checked example

Active call in a local runtime Lua script. Argument count matches current fixed C++ readers. This is a contextual call pattern, not a tested standalone script.

AddTransportSpawn(NPC)

Evidence: server/SpawnScripts/FrostfangSea/GwenevynII.lua:10; binding EQ2Emu_lua_AddTransportSpawn.

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