Lua functions

SetSpeedMultiplier

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

Historical signature: SetSpeedMultiplier(spawn, val)

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

Function: SetSpeedMultiplier(spawn, val)

Description: Set's the speed multiplier of the spell. Must be in a spell script.

Parameters:

  • spawn (Spawn) - Spawn object representing spawn.
  • val (float) - Float value val.

Returns: None.

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.

SetSpeedMultiplier(NPC, 0)

Evidence: server/SpawnScripts/Nektropos1/ArchfiendIzzoroth.lua:10; binding EQ2Emu_lua_SetSpeedMultiplier.

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