Lua functions

RemoveSpawnAccess

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

Historical signature: RemoveSpawnAccess(Spawn, Player)

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

Function: RemoveSpawnAccess(Spawn, Player)

Description: Removes the Player from accessing the Spawn.

Parameters:

  • spawn (Spawn) - Spawn object representing spawn.
  • player (Spawn) - Spawn object representing player.

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.

RemoveSpawnAccess(NPC, Spawn)

Evidence: server/SpawnScripts/BeggarsCourt2/ClanChiefMalachiSleetsaberBeggarsCourtVersion.lua:35; binding EQ2Emu_lua_RemoveSpawnAccess.

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