Lua functions

ProcessMelee

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

Historical signature: ProcessMelee(spawn, target, distance)

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

Function: ProcessMelee(spawn, target, distance)

Description: Send a LUA Brain process melee call for the Spawn against the Target based on the distance provided.

Parameters:

  • spawn (Spawn) - Spawn object representing spawn.
  • target (Spawn) - Spawn object representing target.
  • distance (float) - Float value distance.

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.