Home   Help Search Login Register  

Author Topic: Looking for Close Air Support script  (Read 921 times)

0 Members and 1 Guest are viewing this topic.

Ex-RoNiN

  • Guest
Looking for Close Air Support script
« on: 15 Oct 2002, 16:41:02 »
Right, what I am looking for is a CAS script.

I have 4 Bronco's on stand by, and when things on the ground get dodgy, I want to call in CAS via the radio.

Enemy positions are relatively fixed, so a marker could serve as guidance point?

Cheers in advance :)

Offline KTottE

  • Former Staff
  • ****
Re:Looking for Close Air Support script
« Reply #1 on: 15 Oct 2002, 17:23:50 »
A fairly simple thing could be accomplished without any scripting.

Or at least, very little ;)

First, make a waypoint for your Broncos, make it "Activated by Radio Whateveryouwant".
Then make a waypoint above the enemy position, or just in the area where you will be fighting.
Now, you can call for them by just using your radio.
That get's them airborne, get's them over to where you want them to be, and if you change the waypoints around a bit you can set them to combat mode, always attack and so on.
That way, if they see any enemies, they will attack.

Now, to add more goodies to this.
If the Broncos are bombers or something, just add an invisible H over each enemy position, and once the Broncos get to the CAS waypoint, have them attack by doing this:

Bronco1 doTarget H1; Bronco1 doFire H1

Continue for each Bronco, or if they're in a group.

"_X doTarget H1" forEach Units BroncoGroup; "_X doFire H1" forEach Units BroncoGroup

It's always best to have them target it first, otherwise they might ignore your orders.

Try that, and see if it works. After that we'll make you a more advanced script ;)
"Life is not a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside, thoroughly used up, totally worn out, and loudly proclaiming 'WOW What a Ride!'"

Ex-RoNiN

  • Guest
Re:Looking for Close Air Support script
« Reply #2 on: 15 Oct 2002, 17:45:51 »
That means they have to be on the ground, eh?

Shame, cos I had them circling a few miles away, but I will try your method :)


I don't want to use the invisible H's though, that would be cheating ;)

I like my battles to be dynamic :)