Number of arguments: 10
Example:
PrimaryFire 1500.0, 0.6, 0.15, 0.00, 0.0, 200.0, 0.0, 1.00, 0.00, 0.00 |
Default behaviour for firing primary weapon.
Arguments:
Argument # | Argument meaning |
1 | Time interval between shots (msec) |
2 | Min fire dot. 1.0=must be facing exactly, 0.0=180 degrees arc, -1.0=full 360 degrees arc. |
3 | Max distance. If target too far, won't shoot. |
4 | Error. 0=perfect aim, 1=random shot |
5 | MinDistance. If target closer, won't shoot. |
6 | ReadyTime: time between waking up and taking first shot |
7 | Lead %. Percent of trying to lead a moving target |
8 | Secondary %. Percent of using secondary fire mode (1=always) |
9 | BurstCount. Burst is 1 more than specified here. If 0, no burst shooting |
10 | Burst Interval (msec). Time between single bursts. |