ScriptEvent:getMeleeSurfaceType

From Mod Wiki

Parameters

None.

Result

string

Supported By

idWeapon

Comments

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

Functionality

Returns the name of the surfaceType of the surface hit by the last melee trace.