ScriptEvent:melee

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

Parameters

integer mask -- Collision mask to use.
float distance -- Distance to trace along the axis.
boolean ignoreOwner -- Whether to ignore the player in the trace or not.
boolean antiLag -- Whether the trace should use antilag information or not.

Result

boolean

Supported By

idWeapon

Comments

Functionality

Performs a trace along the player's view axis, and returns whether it hit anything or not.