ScriptEvent:createProjectile
From Mod Wiki
Parameters
integer index -- Clip index.
Result
Supported By
idWeapon
Comments
- If the clip index is out of range, or the clip does not contain any projectile info, no projectile will be spawned, and the result will be null.
Functionality
Creates a projectile using projectile information from the specified clip. This entity will be return, and the weapon will keep track of it, and use as the first projectile for the next call to launchProjectiles. The projectile will remain hiden until then, so scripts can use this to modify parameters on the projectile prior to launch.