Historical signature: HasMoved(spawn)
Parameter and behavior details in the historical explanation are under review against the current implementation.
Function: HasMoved(spawn)
Description:
Return's true if the position has moved (X/Y/Z) heading is not included since the last time HasMoved was called on the Spawn.
Parameters:
spawn (Spawn) - Spawn object representing spawn.
Returns: True if the HasMoved function was previously called on the Spawn and the x/y/z positions have changed since last being called. 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 HasMoved(Caster) then
Evidence: server/Spells/Camouflage.lua:14; binding EQ2Emu_lua_HasMoved.
Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.