ScriptEvent:getMeleeBody

From Mod Wiki
Revision as of 16:45, 5 November 2007 by Wizz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Parameters

None.

Result

string

Supported By

idWeapon

Comments

  • Use melee to perform a melee trace.
  • If no collision occured, this data is invalid.
  • If the surface hit does not belong to an articulated figure, the result will be an empty string.

Functionality

Returns the name of the body associated with the surface hit by the last melee trace.