AddToProjectileList Property

Usage:
   ObjectTemplate.AddToProjectileList boolean

Argument values:

argument 1:    1; most commonly 1

Description: When set for an object (in BF, a landmine), the minefield warning icon will be visible to friendly soldiers nearby.

Used in object types (and how often in each type): Projectile (1%)

Used in one .con file: objects/HandWeapons/Landmine/Objects.con

Example: (from objects/HandWeapons/Landmine/Objects.con)
   ObjectTemplate.Create Projectile LandmineProjectile
   ObjectTemplate.NetworkableInfo ProjectileInfo
   ObjectTemplate.Geometry Landmine
   ObjectTemplate.HasDynamicShadow 1
   ObjectTemplate.SetHasMobilePhysics 1
   ObjectTemplate.SetHasCollisionPhysics 1
   ObjectTemplate.SetHasResponsePhysics 1
   ObjectTemplate.SetHasPointPhysics 0
   ObjectTemplate.HasCollisionEffect 0
   ObjectTemplate.InvisibleAtEndEffect 1
   rem *** Landmines explodes after 120 seconds, if not detonated by hand first.
   ObjectTemplate.TimeToLive CRD_NONE/360/0/0
   ObjectTemplate.DieAfterColl 0
   ObjectTemplate.Radius 4
   ObjectTemplate.ForceOnExplosion 30
   ObjectTemplate.ExplodeNearEnemyDistance 3
   ObjectTemplate.HasOnTimeEffect 1
   ObjectTemplate.Mass 130
   ObjectTemplate.Material 230
   ObjectTemplate.Material2 232
   ObjectTemplate.DamageType 4
   ObjectTemplate.EndEffectTemplate e_ExplGranade
   ObjectTemplate.NoFFSound 1
   ObjectTemplate.AddToProjectileList 1
   ObjectTemplate.ProjectileType 1


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