Lua functions

SetTutorialStep

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

Historical signature: SetTutorialStep(player, step)

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

Function: SetTutorialStep(player, step)

Description: Sets the current tutorial step for the Player.

Parameters:

  • player (Spawn) - Spawn object representing player.
  • step (uint8) - Integer value step.

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.

SetTutorialStep(player, 8)

Evidence: server/SpawnScripts/FarJourneyFreeport/CaptainVarlos.lua:567; binding EQ2Emu_lua_SetTutorialStep.

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