ScriptEvent:launchProjectiles

From Mod Wiki

Parameters

integer count -- Number of projectiles to launch.
integer index -- Clip index to get the projectile info from.
float spread -- Spread factor, in degrees.
float fuseOffset -- Fuse offset to pass to the projectile.
float launchPower -- Scale factor for launch velocity.
float damagePower -- Scale factor for damage.

Result

None.

Supported By

idWeapon

Comments

  • If the clip index is out of range, or the clip specified does not contain projectile information, no projectiles will be launched.
  • LaunchPower and fuseOffset apply only to projectiles of type idProjectile.

Functionality

Launches the specified number and type of projectiles from the weapon.