Lua functions

StartAutoMount

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

Historical signature: StartAutoMount(player, path)

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

Function: StartAutoMount(player, path)

Description: Start the auto mount for the Player on a path id.

Parameters:

  • player (Spawn) - Spawn object representing player.
  • path (uint32) - Integer value path.

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.

StartAutoMount(Spawn, 4)

Evidence: server/SpawnScripts/Commonlands/agriffintamer.lua:130; binding EQ2Emu_lua_StartAutoMount.

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