ScriptEvent:tracePoint

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

Parameters

vector start -- The start position for this trace.
vector end -- The end position for this trace.
integer mask -- Collision mask to use.
object ignore -- Object to ignore in the check, may be an entity or a client entity.

Result

float

Supported By

sdSysCallThread

Comments

  • You can use saveTrace to save the results of this trace.

Functionality

Performs a fast point trace through the world, and returns the fraction of the trace which passed.