ScriptEvent:launchBullet
From Mod Wiki
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.