I looked through DZAI and figured out how to get two ai as gunner of huey. Works well.
The problem is when the huey lands and I get the pilot out, the problems begin. I can only seem to keep on gunner in there at that point. If I tell the pilot to get out, she does and then a gunner does to.
If I tell them to all get out and both gunners get back in, only one does.
code to spawn unit
_unit assignAsGunner _vehicle;
_unit moveInTurret [_vehicle,[0]];
code to spawn next unit
_unit assignAsGunner _vehicle;
_unit moveInTurret [_vehicle,[1]];
What am I screwing up?
The problem is when the huey lands and I get the pilot out, the problems begin. I can only seem to keep on gunner in there at that point. If I tell the pilot to get out, she does and then a gunner does to.
If I tell them to all get out and both gunners get back in, only one does.
code to spawn unit
_unit assignAsGunner _vehicle;
_unit moveInTurret [_vehicle,[0]];
code to spawn next unit
_unit assignAsGunner _vehicle;
_unit moveInTurret [_vehicle,[1]];
What am I screwing up?