FireDelay Property

Usage:
   ObjectTemplate.FireDelay number

Argument values:

argument 1:    range is 0.12 to 3.5; most commonly 0.4

Description: Time delay before the grenade is actually thrown, bayonet stabs, mortar fires, etc. The animation plays, then, after the time set, the projectile will be spawned.

Also, if you fire the weapon, then move the crosshair, your projectile will be fired where the crosshair is after the time set.

Used in object types (and how often in each type): FireArms (3%), HandFireArms (23%)

Used in a total of 24 .con files: Objects.con

Parent directory of these .con files: objects/HandWeapons

Example: (from objects/HandWeapons/K98Bayonet/Objects.con)
   rem ----------------------------------------------------------
   rem Firearm: K98BayonetStabFireArm (knife part)
   rem ----------------------------------------------------------
   ObjectTemplate.Create FireArms K98BayonetStabFireArm
   ObjectTemplate.ProjectileTemplate BayonetProjectile
   ObjectTemplate.ProjectilePosition 0/0/0
   ObjectTemplate.SetInputFire c_PIAltFire
   ObjectTemplate.MagSize -1
   ObjectTemplate.NumOfMag 4
   ObjectTemplate.MagType 0
   ObjectTemplate.Reloadtime 1
   ObjectTemplate.FireOnce 0
   ObjectTemplate.AltFireOnce 1
   rem *** Time to hurt after stab started, 0.3 seconds now.
   ObjectTemplate.FireDelay 0.12
   ObjectTemplate.RoundOfFire 1.3
   ObjectTemplate.GUIIndex 83
   ObjectTemplate.Velocity 50
   ObjectTemplate.FireInCameraDof 1
   ObjectTemplate.LoadSoundScript Sounds/K98Bayonet.ssc


Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.