FireHomingProjectile
From Dragon Age Toolset Wiki
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
);
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