Lua functions

IsGroundSpawn

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

Historical signature: IsGroundSpawn(spawn)

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

Function: IsGroundSpawn(spawn)

Description: Return's true if the spawn is a ground spawn.

Parameters:

  • spawn (Spawn) - Spawn object representing spawn.

Returns: True if the spawn is the Ground Spawn, otherwise False.

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.

if IsGroundSpawn(Target) then

Evidence: server/Spells/Commoner/harvest.lua:10; binding EQ2Emu_lua_IsGroundSpawn.

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