SpawnItemProjectile

// Brock H. - OEI 04/12/06 // Creates a projectile that uses the models and effects for weapons. This does not actually do damage or have any combat impact, // it simply creates a visual effect. // Currently, the only damage type flags supported are Acid, Cold, Electrical, Fire, and Sonic. // nBaseItemID - This is the row in the baseitemtypes.2DA that defines the launcher for this projectile. It is used to determine the ammunition type for the projectile // nProjectilePathType - must be PROJECTILE_PATH_TYPE_* from above // nAttackType - This must be OVERRIDE_ATTACK_RESULT_HIT_SUCCESSFUL, PARRIED, CRITICAL_HIT, or MISS // nDamageTypeFlag - Used to attach a visual to the projectile. Supported types are DAMAGE_TYPE_ACID, COLD, ELECTRICAL, FIRE, DIVINE, SONIC void SpawnItemProjectile( object oSource, object oTaget, location lSource, location lTarget, int nBaseItemID, int nProjectilePathType, int nAttackType, int nDamageTypeFlag );