Lua functions

AddSpawnIDAccess

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

Historical signature: AddSpawnIDAccess(Player, spawn_id, zone)

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

Function: AddSpawnIDAccess(Player, spawn_id, zone)

Description: Adds Player to the access list of the spawn_id provided. Zone is optional, it will use Player's zone to determine any Spawn's in zone based on the spawn_id provided.

Parameters:

  • Player (Spawn) - Spawn object representing Player.
  • spawn_id (uint32) - Integer value spawn_id.
  • zone (Zone) - Zone object representing zone.

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.