ScriptEvent:getMeleeSurfaceFlags

From Mod Wiki

Parameters

None.

Result

integer

Supported By

idWeapon

Comments

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

Functionality

Returns the surface flags of the surface hit by the last melee trace.