Lua functions

SetDeity

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

Historical signature: SetDeity(spawn, value)

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

Function: SetDeity(spawn, value)

Description: Set's the deity of the Spawn.

Parameters:

  • spawn (Spawn) - Spawn object representing spawn.
  • 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.