Usage:
ObjectTemplate.HasOnTimeEffect
boolean
Argument values:
argument 1: | 0, 1; most commonly 0 |
Description: This property enables or disables the TimeToLive property, which is used to trigger an effect when time runs out.
Related properties: TimeToLive
Used in object types (and how often in each type): ClusterProjectile (100%), Projectile (41%)
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
Example: (from objects/HandWeapons/Common/Weapons.con)
rem *** Invisible knife projectile.
ObjectTemplate.Create Projectile KnifeProjectile
ObjectTemplate.Geometry bullet_m1
ObjectTemplate.TimeToLive CRD_NONE/0.0665/0/0
rem ObjectTemplate.endEffectTemplate e_RichoSand
ObjectTemplate.HasCollisionPhysics 1
ObjectTemplate.GravityModifier 0
ObjectTemplate.HasStartEffect 0
ObjectTemplate.HasCollisionEffect 1
ObjectTemplate.HasOnTimeEffect 0
ObjectTemplate.InvisibleAtEndEffect 1
ObjectTemplate.DieAfterColl 1
ObjectTemplate.StopAtEndEffect 1
ObjectTemplate.Invisible 1
ObjectTemplate.Material 210
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.