Do you want the Troops to be Parachuted in, or Dropped off on the ground and have the UH-60 leave?
Chopper:
If you want to have the troops Get Out of the chopper while the chopper is on the ground, Do this in the editor. (you really dont need a script for this) Go to Empty/Ojects/H (Invisible), then put the H where you want the chopper to land.
Then, Select the Chopper and set a waypoint, on that H object, as "Transport Unload". Then set another waypoint After the "Transport Unload" Waypoint, to Some place far from your LZ. This will make the chopper, at the begining of the game, fly to the H drop your troops off, (via the "Transport Unload" Waypoint) Then Fly to the Second Waypoint. (The Chopper wont take off to the second waypoint Until all the troops are out on the ground)
Soldiers:
To get the Soldiers in the Chopper, (you already know, but i'm going to go over it) Name all your soldiers to s1, s2, s3, s4, s5, s6..etc. (you can name them anything you want) Then in Each soldiers Init Field, type: unitname moveincargo t1 (t1 is the choppers name) This will move the Soldiers into the Chopper from the Start of the Mission. Then, Select the Groups Leader and set a waypoint for him to move to your Objective. Then, If it's AI, When the chopper drops the soldiers off, the group will follow it's leader to your Waypoint you set for the leader. (Meanwhile, you can watch the chopper fly off in the Distance
)
**BE SURE NOT TO MAKE THE CHOPPER AND THE SOLDIERS GROUPED TOGETHER**
If you want the Soldiers to Load up in the chopper when the chopper is waiting on an H pad at your "base", then you might need a script to do it. It's possible to do it in the editor, but i think it's much easier via script. If you want to know how to do this, Go into OFPEC's IRC Chat Program, and Catch any of the Great Scripters in there. (Dinger, CareyBear, SelectThis, Just to name a few
) And their mostly in there alot of the Times. if you have any more questions, Contact me In there, or Send me a Forum Private Message, or an E-mail: (Swatdog6488@hotmail.com)
If you have an IRC Program, Click here: irc://irc.de.quakenet.org:6667/ofpec Or use the already set up IRC Program right here on the Site. Click on the "Chat" Link on the Navbar by the Banner.
Good Luck,
Swatdog