Usage:
ObjectTemplate.StopAtEndEffect
boolean
Argument values:
argument 1: | 0, 1; most commonly 1 |
Description: If this property is set, the projectile will cease to exist once it has collided with something and caused it damage, or when its TimeToLive has expired.
Related properties: HasCollisionEffect, HasCollisionPhysics, Material, TimeToLive
Used in object types (and how often in each type): Projectile (47%)
Used in a total of 43 .con files: Objects.con, Projectile.con, Weapons.con
Parent directories of these .con files: objects/Vehicles, objects/Stationary_Weapons, objects/HandWeapons, Bf1942/Levels
Example: (from objects/Vehicles/Common/Weapons.con)
rem -------------------------------------------------
ObjectTemplate.Create Projectile FighterBomb
ObjectTemplate.CreateNotInGrid 1
ObjectTemplate.LoadSoundScript ../air/common/Sounds/Bomb.ssc
ObjectTemplate.Geometry Big_Bomb_M1
ObjectTemplate.HasMobilePhysics 1
ObjectTemplate.HasCollisionPhysics 1
ObjectTemplate.HasResponsePhysics 1
ObjectTemplate.TimeToLive CRD_NONE/20/0/0
ObjectTemplate.DamageType 1
ObjectTemplate.Material 242
ObjectTemplate.Material2 202
ObjectTemplate.Radius 20
ObjectTemplate.StopAtEndEffect 1
ObjectTemplate.DieAfterColl 0
ObjectTemplate.HasCollisionEffect 1
ObjectTemplate.Mass 250
ObjectTemplate.Drag 0.08
ObjectTemplate.SetHasPointPhysics 0
ObjectTemplate.YModOnExplosion 2.0
rem -------------------------------------------------
ObjectTemplate.AddTemplate Bomb_wing
ObjectTemplate.SetPosition 0/0/-0.5
ObjectTemplate.AddTemplate Bomb_wing
ObjectTemplate.SetPosition 0/0/-0.5
ObjectTemplate.SetRotation 0/0/-90
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.