TurretFire

Number of arguments: 9

Example:

TurretFire      	600.0, 75.0, 160.0, 160.0, 5.0, 0.20, 500.0, 10000.0, 0.0

The AI will swivel its joints in order to fire in directions other than forward. Also causes the "berserk" mode when damaged.

Arguments:

Argument # Argument meaning
1 Fire rate (milliseconds between shots)
2 Turn rate for Pitch & Yaw
3 Yaw range of motion, 0 to 180
4 Pitch range of motion, 0 to 180
5 Max distance to take shot
6 Min. health % to cause berserk (0 to 1)
7 Fire rate (berserk) in msecs
8 How long between berserk and blowing up (msecs)
9 Percentage of leading a moving target (0=never, 1= always)