ScriptEvent:entitiesInTranslation

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

Parameters

vector start -- Start point of the trace in world space.
vector end -- End point of the trace in world space.
integer mask -- Mask of the contents of entities to find.
entity ignore -- Entity to ignore in the trace.

Result

integer

Supported By

idEntity

Comments

  • This function clears the entity cache first.

Functionality

Finds all entities along the given translation, adds them to the entity cache, and returns the number found.