Difference between revisions of "ScriptEvent:launchMissileSimple"
From Mod Wiki
(No difference)
|
Latest revision as of 11:28, 5 November 2007
Parameters
entity owner -- Primary owner of the projectile. entity owner2 -- Secondary owner of the projectile. entity enemy -- Target of the projectile, for tracking projectiles. integer projectileDef -- Index of the entityDef to use to spawn the entity on the server. integer clientProjectileDef -- Index of the entityDef to use to spawn the entity on the client. float spread -- Spread scale factor. vector origin -- Position in world space to launch the projectile from. vector velocity -- Initial velocity of the projectile in world space.
Result
Supported By
idEntity
Comments
- The result will be null if the projectileIndex is out of range, the projectile is hitscan, or this is a client.
Functionality
Launches a projectile and returns the entity.