Lua functions

SpawnMove

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

Historical signature: SpawnMove(spawn, player, max_distance, type)

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

Function: SpawnMove(spawn, player, max_distance, type)

Description: Allows a player to move a Spawn/Object, also restricting the max_distance of movement. Type represents either "floor" (default), "wall" or "ceiling"

Parameters:

  • spawn (Spawn) - Spawn object representing spawn.
  • player (Spawn) - Spawn object representing player.
  • max_distance (int32) - Distance max_distance.
  • type (string) - String value type.

Returns: None.

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.