DieAfterColl Property

Usage:
   ObjectTemplate.DieAfterColl boolean

Argument values:

argument 1:    0, 1; most commonly 1

Description: Destroy projectile after collision. This is set to 1 for most projectiles in their Weapons.con file. The exceptions are: expack, grenade, landmine, the Aichival-TProjectile, and the plane bombs.

Related properties: HasCollisionEffect, Material

Used in object types (and how often in each type): ClusterProjectile (100%), Projectile (45%)

Used in a total of 45 .con files: Objects.con, Projectile.con, Weapons.con

Parent directories of these .con files: objects/Vehicles, objects/Stationary_Weapons, objects/HandWeapons

Example: (from objects/Stationary_Weapons/Common/Objects.con)
   ObjectTemplate.Create Projectile Tracer_Projectile
   ObjectTemplate.Geometry TLight_m1
   ObjectTemplate.TimeToLive CRD_NONE/3/0/0
   ObjectTemplate.HasCollisionPhysics 1
   ObjectTemplate.GravityModifier 0.0
   ObjectTemplate.HasStartEffect 0
   ObjectTemplate.HasCollisionEffect 1
   ObjectTemplate.HasOnTimeEffect 0
   ObjectTemplate.InvisibleAtEndEffect 1
   ObjectTemplate.DieAfterColl 1
   ObjectTemplate.StopAtEndEffect 1
   ObjectTemplate.Invisible 1
   ObjectTemplate.Material 225
   ObjectTemplate.TracerScaler 50.0
   ObjectTemplate.Invisible 0


Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.