Getting AI gunners to shoot


You can use this to get them to fire:

Code:
// Chinook with 3 gunners:
h1 action ["useWeapon", h1, h1 turretUnit [0], 1];
h1 action ["useWeapon", h1, h1 turretUnit [1], 1];
h1 action ["useWeapon", h1, h1 turretUnit [2], 1];

UH-60M has two gunners, so this should work:

Code:
// Change the ,2] to ,0] for a single shot instead of burst.
h1 action ["useWeapon",h1,h1 turretUnit [0],2]; // Crewchief fires a long burst
h1 action ["useWeapon",h1,h1 turretUnit [1],1]; // door gunner fires a short burst

Comments are closed.