ScriptEvent:launchProjectiles
From Mod Wiki
Contents |
[edit]
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.
[edit]
Result
None.
[edit]
Supported By
idWeapon
[edit]
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.
[edit]
Functionality
Launches the specified number and type of projectiles from the weapon.
