Lua functions

EndAutoMount

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

Historical signature: EndAutoMount(Spawn)

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

Function: EndAutoMount(Spawn)

Description: Dismounts a player who was auto-mounted via StartAutoMount. Typically called at the end of an automated travel route or upon leaving the area where auto-mount is enforced.

Parameters:

  • player (Spawn) - Spawn object representing player.

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.

EndAutoMount(Spawn)

Evidence: server/ZoneScripts/Antonica.lua:225; binding EQ2Emu_lua_EndAutoMount.

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