FireHomingProjectile

From Dragon Age Toolset Wiki
Revision as of 19:05, 16 February 2010 by BryanDerksen (Talk | contribs) (looks okay, removing tag. Add a link and Category:Projectiles)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Fire a tracking projectile from a specified source point to a target object

object FireHomingProjectile(
int nType,
vector vSourcePosition,
object oTarget,
int nCrustEffectId = 0,
object oEventTarget = OBJECT_INVALID
);
Parameters:
nType
the projectile type (see the PRJ_base.xls 2da)
vSourcePosition
start position for the projectile
oTarget
object to follow and hit
nCrustEffectId
crust vfx to apply to the projectile
oEventTarget
object to send the impact event to
Returns:

projectile id

Source:

script.ldf



See also

FireProjectile, SetProjectileImpactEvent