Home   Help Search Login Register  

Author Topic: Whole squad leaving the helo at once?  (Read 1335 times)

0 Members and 1 Guest are viewing this topic.

Offline jens198

  • Former Staff
  • ****
  • Falcon 3.0 forever!
Whole squad leaving the helo at once?
« on: 08 Oct 2002, 21:42:25 »
Hi guys,

I want my whole squad (6 men) to leave the AH-6 Little Birds not one after the other, but all at the same time.

What's the best command used here?

Thanks,

Jens
Try to look unimportant; the enemy may be low on ammo and not want to waste a bullet on you!

seanver

  • Guest
Re:Whole squad leaving the helo at once?
« Reply #1 on: 08 Oct 2002, 22:27:34 »
Let's say you have named the chopper as bh and your men are i1 to i6.

Code: [Select]

unassignvehicle i1
i1 action ["eject",bh]

unassignvehicle i2
i2 action ["eject",bh]

unassignvehicle i3
i3 action ["eject",bh]

unassignvehicle i4
i4 action ["eject",bh]

unassignvehicle i5
i5 action ["eject",bh]

unassignvehicle i6
i6 action ["eject",bh]
exit

Do that as if you werre doing a normal mission but in the "Unload transport" waypoint put [] exec "script.sqs". I hope that will work. That code is from my campaign, but I did it a little different, but I think that that ought to work.

Offline jens198

  • Former Staff
  • ****
  • Falcon 3.0 forever!
Re:Whole squad leaving the helo at once?
« Reply #2 on: 08 Oct 2002, 22:40:28 »
Hi,

did it already like you said, but with out the

"df6 action ["eject",lb1]" - command.

But: No joy. Those nasty D-Boys jump from the Little Birds one by one as if they were on summer vacation.
Any additional ideas?

Jens
Try to look unimportant; the enemy may be low on ammo and not want to waste a bullet on you!

seanver

  • Guest
Re:Whole squad leaving the helo at once?
« Reply #3 on: 08 Oct 2002, 22:43:39 »
Yep another idea, continue using the script I've said but change the Get out waypoint of the squad to a MOVE one

Offline jens198

  • Former Staff
  • ****
  • Falcon 3.0 forever!
Re:Whole squad leaving the helo at once?
« Reply #4 on: 08 Oct 2002, 23:19:34 »
hehe, funny idea. But the guys try to parachute from only a few feet into the ally (not good for their health) when I use the MOVE waypoint.

BTW I added a land "getout" command (but that didn't change it either)

jens

Try to look unimportant; the enemy may be low on ammo and not want to waste a bullet on you!

CareyBear

  • Guest
Re:Whole squad leaving the helo at once?
« Reply #5 on: 09 Oct 2002, 07:25:27 »
I don't think you can. Units can load into a transport simultaneously (they start as soon as they get close enough), but they unload consecutively with a built in delay. I suspect BIS designed this with reference mainly to trucks and BMPs/M113s, which have one door for cargo.

Looks even sillier with a Huey.. they're sitting *RIGHT THERE WITH THEIR FEET ON THE FRICKIN SKIDS* then get out the other side one at a time.  >:(

I've never tried to setPos a unit that's in cargo, but you might try something like that?  ???

You could also create the soldiers next to the helo as soon as it touches down (assuming the player will never see inside the helo while it's flying)  ;)

Just some ideas...

Cheers

Bremmer

  • Guest
Re:Whole squad leaving the helo at once?
« Reply #6 on: 09 Oct 2002, 18:20:19 »
Hmm .. I'm pretty sure this can be done. I seem to remember that there were a lot of problems with para scripts where everyone would pile out at once, and all die as their chutes hit each other.

Try:

jump = action ["eject",chopper]
"_x jump" foreach units groupname


might work  ???