Lua functions

SendHearCast

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

Historical signature: SendHearCast(spell, spell_visual_id, cast_time, caster, target)

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

Function: SendHearCast(spell, spell_visual_id, cast_time, caster, target)

Description: Sends a notice to the area that they see visually per Spell Visuals in https://www.eq2emu.com/developers/references and receive a spell message in their chat window based on Caster and Target.

Parameters:

  • spawn (Spawn) - Spawn object representing spawn.
  • spell_visual_id (uint32) - Integer value spell_visual_id.
  • cast_time (int32) - Time value cast_time in seconds.
  • caster (Spawn) - Spawn object representing caster.
  • target (Spawn) - Spawn object representing target.

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.