Lua functions

SayOOC

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

Historical signature: SayOOC(spawn, message, player, dist, language)

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

Function: SayOOC(spawn, message, player, dist, language)

Description: Sends a Out of Character message from the Spawn to the general area based on the distance, or otherwise to a specific Player if specified, otherwise optional/nil.

Parameters:

  • spawn (Spawn) - Spawn object representing spawn.
  • message (string) - String message.
  • player (Spawn) - Spawn object representing player.
  • dist (int32) - Integer value dist.
  • language (int32) - Integer value language.

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.