Usage:
ObjectTemplate.SetHasMobilePhysics
boolean
Argument values:
argument 1: | 1; most commonly 1 |
Description: Another name for HasMobilePhysics.
Related properties: HasMobilePhysics
Used in object types (and how often in each type): Projectile (4%)
Used in a total of 6 .con files: Objects.con, Weapons.con
Parent directories of these .con files: objects/Vehicles, objects/HandWeapons
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.