Jump to content
Sign in to follow this  
Whargod

Make the a-10 strafe a position

Recommended Posts

Hi,

I am getting better at scripting, but I can't seem to figure this one out.

I have a defend the hill type mission going, and I want to have an A-10 flying at about 1000 that will fly over the hill constantly and randomly strafe it with its 30-mm cannon.

I don't want it hitting the same spot all the time, just sort-of randomly hitting the hill within a certain radius.

Can anyone please tell me how this can be done, or even if it's possible?

Thanks!

Share this post


Link to post
Share on other sites

my friend has a script that does something to that effect but its more like bombs. However you could edit to make the explosions smaller. I'll post it when i get it.

Share this post


Link to post
Share on other sites

Very hard to get A10 to aim it's gun at the ground like that.... you would have to play around with comandWatch and commandTarget, then use the fire command when needed.

Or maybe create a small object of the opposite side (east west etc) of the A10 and move it around the area where you want strafing. remove the A10's bombs, and see if he attacks the "invisible" target.

Share this post


Link to post
Share on other sites

Ok, I'll try making some objects and see what happens.

How do I remove the bombs from an A-10 anyhow?

Share this post


Link to post
Share on other sites

maybe

In the Unit Initialization Feild:

this removeweapon "x"

and/or

this removemagazines "x"

where x is the name of the A10's Mavericks. I don't know the name, but check the Unofficial Command Reference.

BTW I'm not sure if this will work, so lemmie know if it does.

Share this post


Link to post
Share on other sites

it is not that complicated. set 5 or six game logics at the desired region. Let the A 10 target them. then randomly change through the targets by script. Should solve your problem.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×