Lua functions

GetOwner

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

Historical signature: GetOwner(spawn)

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

Function: GetOwner(spawn)

Description: Gets the Owner Spawn object in reference to the spawn provided (Pet/Charmed).

Parameters:

  • spawn (Spawn) - Spawn object representing spawn.

Returns: Return's the owner spawn object.

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.