ScriptEvent:getMeleeJoint

From Mod Wiki
Revision as of 16:46, 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 animated model, the result will be an empty string.

Functionality

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