Lua functions

SetInt

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

Historical signature: SetInt(spawn, value)

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

Function: SetInt(spawn, value)

Description: Sets the Spawn's intelligence to the specified value.

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.