Difference between revisions of "ScriptEvent:getMeleeBody"

From Mod Wiki
 
(No difference)

Latest revision as of 16:45, 5 November 2007

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.