ScriptEvent:launchBullet

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

Parameters

entity owner -- Primary owner of the projectile.
entity igonre -- Secondary entity for the projectile trace to ignore.
integer projectileDef -- Index of the entityDef to spawn the projectile with.
float spread -- Spread scale factor.
vector origin -- Starting position of the bullet in world space.
vector direction -- Direction to fire the bullet in.
integer forceTracer -- Whether to play a tracer or not, TRACER_CHANCE for random, TRACER_FORCE for always, or TRACER_OFF for never
boolean antilag -- Whether ot not to use antilag.

Result

None.

Supported By

idEntity

Functionality

Launches a hitscan projectile.