ScriptEvent:getMeleeEntity

From Mod Wiki

Parameters

None.

Result

entity

Supported By

idWeapon

Comments

  • Use melee to perform a melee trace.
  • If no collision occured, this data is invalid.

Functionality

Returns the entity hit from the last melee trace.