Lua functions

SetSta

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

Historical signature: SetSta(spawn, value)

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

Function: SetSta(spawn, value)

Description: Set's the Spawn's stamina to the value provided.

Parameters:

  • luaspell (int32) - Integer value luaspell.
  • value (int32) - Integer value value.

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.