Home   Help Search Login Register  

Author Topic: Chopper Close Air Support  (Read 785 times)

0 Members and 1 Guest are viewing this topic.

Ness

  • Guest
Chopper Close Air Support
« on: 24 Apr 2003, 03:29:11 »
OK, I'm playing around with a few aspects I want to get into a mission I"m making (The other big one is ending amission).

Here's my situation.

I have a Blackhawk(UH60MG) (Pilot and Gunner init'd into the thing, seperate groups and names) that I have gotten succesfully to circle a town nice and low. The idea is for the chopper to drop the troops, move in for CAS and extract, but I'm focusing on the CSA right now.

The Chopper stays low(a little too low, it keeps having to go up over trees, easily fixed), circles as I want BUT the gunner seems to be blind. It'll fire maybe three or four spurts at a flooded enemy town, but other than that, nothing.

I've tried piloting the thing myself but the gunner won't fire than. I've also been the gunner, but that's not where I want the player to be :)

Any hints or glasses for the gunner?


Second thing. I want that chopper to cirlce, and for testing I have it doing that just fine with the cycle command. I want it to pull back at a radio command, since that seems to make the most sense, land, pick up the troops and boot outta Dodge. My question is, how do I do that transition when it is in cycle?

Thanks in advance.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Chopper Close Air Support
« Reply #1 on: 24 Apr 2003, 11:06:55 »
You could try

"gunner reveal _x" forEach units enemyGrp1

Syntax not guaranteed, look it up.   Increase the gunner's skill level, and make him his own group with no waypoints.    And make him setBehaviour "combat"

As for the getting-past-the-cycle waypoint, what you need is a switch trigger.   There is a tute in pending in the Ed Depot and dozens of posts - use the forum search function.
Plenty of reviewed ArmA missions for you to play

Ness

  • Guest
Re:Chopper Close Air Support
« Reply #2 on: 24 Apr 2003, 17:33:30 »
Where would I find a list of Syntaxes? I did a quickie and must have missed it.

AI is in seperate groups, but I'll try a couple of those.

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:Chopper Close Air Support
« Reply #3 on: 25 Apr 2003, 02:23:32 »
Macca's got it right.... sort of ;D

The reveal command syntax is:

group reveal unit

So you could either specify the gunner specifically, or just use his group.
Remember that you can specifying the gunner just by adding a g to the end of your vehicle name. So if your chopper was called Heli:

"(group Helig) reveal _x" foreach units group

If you want to reveal all the units in multiple groups with the same statement, change it to look more like this:

"(group Helig) reveal _x" foreach (units group1 + units group2 + units group3... etc.)

Hope that helps you out ;)

Ness

  • Guest
Re:Chopper Close Air Support
« Reply #4 on: 25 Apr 2003, 05:15:50 »
"(group Helig) reveal _x" foreach units group

Does "x" stay as "x" or do I need to do something with it?

And for Group, I need to rename the enemy squads right?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Chopper Close Air Support
« Reply #5 on: 25 Apr 2003, 11:14:21 »
lol I always say never trust macguba's syntax ...

Yes you will need to name each of the enemy groups.   Write

group1 = group this

in the init field of the group leader.

_x stays as it is .. the foreach command substitutes each of the things in the array you specify (in this case units group) in turn.
Plenty of reviewed ArmA missions for you to play