InfWeaponCharacteristics.GrenadeTimer

From Empires Wiki
Jump to: navigation, search
Empires Scripting Documentation
Scripting Overview | Vehicle Script Overview | Vehicle Handling Script Overview | Weapon Script Overview | Armor Script Overview | Building Script Overview | Infantry Script Overview | Hint Messages | Loading Screen Script Overview | Tutorials



Infantry Weapon Characteristics Documentation
Damage | Minimal Damage | Bullets | Cycle Time | Burst Shots | Burst Cycle Time | Falloff | Falloff Base | Melee Damage | Melee Cycle Time | Can Fire When Tired
Unique values: Explosion Sprite | Velocity | Turning Speed | Explosion Force | Explosion Radius | Grenade Timer | Heal Amount | Repair Amount | Heal Modifier | Repair Modifier



Grenade Timer

This attribute is only available for the grenade scripts, and defines the timer a grenade has. For explosive weapons, this timer starts when it is thrown, for smoke grenades, this timer starts when it is no longer moving and on the ground. This attribute is a floating-point value and is written in seconds (default: 6.0 seconds). Cannot go below 1.0 second.