Function: InWater(Spawn)
Description: Determines if the given spawn is currently submerged in water.
Parameters:
Spawn: Spawn – The entity to check.
Returns: Boolean – true if the spawn is in water; false if not.
InWaterRegistered in this checkout as EQ2Emu_lua_InWater; implementation found at WorldServer/Lua/LuaFunctions.cpp:13722.
Historical signature: InWater(Spawn)
Parameter and behavior details in the historical explanation are under review against the current implementation.
Description: Determines if the given spawn is currently submerged in water.
Parameters:
Spawn: Spawn – The entity to check.Returns: Boolean – true if the spawn is in water; false if not.
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.