Usage:
ObjectTemplate.UseMMOnEndEffect
boolean
Argument values:
argument 1: | 0, 1; most commonly 1 |
Description: Set for explosive devices (grenades, exppacks).
Related properties: DamageType, EndEffectTemplate, ExplosionDamage, HasOnTimeEffect, Material, Material2
Used in object types (and how often in each type): ClusterProjectile (100%), Projectile (11%)
Used in a total of 18 .con files: Objects.con, Weapons.con
Parent directory of these .con files: objects/HandWeapons
Example: (from objects/HandWeapons/K98RifleGrenade/Objects.con)
ObjectTemplate.Create Projectile K98RifleGrenadeProjectile
ObjectTemplate.NetworkableInfo ProjectileInfo
ObjectTemplate.Geometry K98RifleGrenadeProj
ObjectTemplate.HasDynamicShadow 1
ObjectTemplate.SetHasMobilePhysics 1
ObjectTemplate.SetHasCollisionPhysics 1
ObjectTemplate.SetHasResponsePhysics 1
ObjectTemplate.SetHasPointPhysics 0
ObjectTemplate.HasCollisionEffect 0
ObjectTemplate.InvisibleAtEndEffect 0
ObjectTemplate.HasArmor 1
ObjectTemplate.Hitpoints 9999
ObjectTemplate.Maxhitpoints 9999
ObjectTemplate.ExplosionDamage 1
rem *** MattiasH doesn't permit random time on projectiles. ask him about this.
ObjectTemplate.TimeToLive CRD_NONE/1.5/0/0
ObjectTemplate.UseMMOnEndEffect 1
ObjectTemplate.DieAfterColl 0
ObjectTemplate.Radius 15.0
ObjectTemplate.DamageType 1
ObjectTemplate.Material 70
ObjectTemplate.Material2 205
ObjectTemplate.HasOnTimeEffect 1
ObjectTemplate.EndEffectTemplate e_ExplGranade
ObjectTemplate.NoFFSound 1
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.