Lua functions

RandomMovement

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

Historical signature: RandomMovement(…) via current binding

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

There is no historical detail file for this current registration. Its parameters and behavior are under review.

Checked example

Active call in a local runtime Lua script. Point count, refresh interval, and flying flag use coded defaults. The binding also handles arguments dynamically. This is a contextual call pattern, not a tested standalone script.

RandomMovement(NPC, 4, -4, 2, 0, 0)

Evidence: server/SpawnScripts/antonica/arestlessCaltorsiteCamp.lua:12; binding EQ2Emu_lua_RandomMovement.

Current registration: WorldServer/Lua/LuaInterface.cpp.