Thanks for all the advice dude's but i'm trying to learn to script and here's my first attempt so I wanna make it work, i'll check out those other scripts and see what makes them tick. Heres what I changed the script to and it works ok, but the chopper keeps circling around and attacking the last hpad4, is there a donttarget command or something similar?
";strafing script by GI-YO
copter1 setbehaviour "aware"
copter1 setcombatmode "yellow"
copter1 selectweapon "MachineGun30"
copter1 dotarget h1
copter1 dofire h1
~4
copter1 dotarget h2
copter1 dofire h2
~4
copter1 dotarget h3
copter1 dofire h3
~4
copter1 dotarget h4
copter1 dofire h4
~4
exit"
I changed the invisibel H's to brown barrels, which the chopper doe's shoot at. Thanks again.
GI-YO