Lua functions

SetPlayerPOVGhost

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

Historical signature: SetPlayerPOVGhost(player, spawn)

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

Function: SetPlayerPOVGhost(player, spawn)

Description: Set's the Player's POV Ghost to another Spawn if needed, or nil to reset.

Parameters:

  • player (Spawn) - Spawn object representing player.
  • spawn (Spawn) - Spawn object representing spawn.

Returns: None.

Connection lifetime: Each player or group-member connection resolved by this function is retained through the native call. A disconnect or reconnect during a callback cannot destroy that retained connection or switch the ongoing call to a replacement. A later Lua call resolves the current connection. This does not extend the lifetime of unrelated spawn or item userdata.

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.