Lua functions

InLava

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

Historical signature: InLava(Spawn)

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

Function: InLava(Spawn)

Description: Checks if the specified spawn is in lava. Similar to InWater, but specifically for lava volumes which might cause damage.

Parameters:

  • Spawn: Spawn – The entity to check.

Returns: Boolean – true if the spawn is currently in lava; false otherwise.

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.