Home   Help Search Login Register  

Author Topic: erm.......  (Read 455 times)

0 Members and 1 Guest are viewing this topic.

LimeCordial

  • Guest
erm.......
« on: 29 Mar 2003, 18:20:09 »
hi!

havent been around for a while..............but got a bit of a problem.

i want to make a coupla uh60s fly in to everon and unload troops....one is the player's squad, another is an AI squad. i have the men in the choppers, have transport unload and get out waypoints for them, on an invisible H. the helos have  move waypoints afterwards so they fly away.

now when i tried this, the helos would fly in, drop the player out then fly away, leaving the squad to fall to their deaths. to get around that i put a  trigger to make the helos land......no problem with that.....but now they dont want to lift off again to go to their waypoints!

anyone know how to get the helos to lift off again?

Offline OFPWiZard

  • Members
  • *
Re:erm.......
« Reply #1 on: 29 Mar 2003, 18:40:07 »
Hello

You might want to try this way, someone else said something like this and i told them:


Quote
Hello

If you don't want to use the script way use this one...  I know what you want, this is what i did.  You can look at the picture i made to look over... It in the next Reply (Too Big To Put In Here)
Two ways of doing this:

1:  Waypoint way...
(This is for the soldiers starting in the chopper)
Make a chopper (UH60 or anykind) and name it C1 (anything will do), also make it flying.
Make your units (12 soldiers) and name them A1 - A12.  In A1 INI Field (General "Leader") put:
grp=group this; "_x moveincargo C1" foreach units group this
Make a waypoint for the chopper (C1) type: MOVE, and in the On Activation Field put:
C1 flyInHeight 150
(150 or higher will make the soldiers be alive after ejecting...)
Next Waypoint for chopper (C1) type: MOVE, and in the On Activation Field put:
A1 action ["Eject", C1]; A2 action ["Eject", C1]; A3 action ["Eject", C1]; A4 action ["Eject", C1]; A5 action ["Eject", C1]; A6 action ["Eject", C1]; A7 action ["Eject", C1]; A8 action ["Eject", C1]; A9 action ["Eject", C1]; A10 action ["Eject", C1]; A11 action ["Eject", C1]; A12 action ["Eject", C1];
Note:  I would highly go with the trigger way but heres a tip, make 3 waypoints that have this in the On Activation:
WP 1:
A1 action ["Eject", C1]; A2 action ["Eject", C1]; A3 action ["Eject", C1]; A4 action ["Eject", C1];
WP 2:
A5 action ["Eject", C1]; A6 action ["Eject", C1]; A7 action ["Eject", C1]; A8 action ["Eject", C1];
WP3:
A9 action ["Eject", C1]; A10 action ["Eject", C1]; A11 action ["Eject", C1]; A12 action ["Eject", C1];
So the people willn't knock together as they get out all at once.
Make a waypoint for the General (A1) type: GetOut where the 2nd waypoint for Chopper (C1).

2:  Trigger way...
Do the same with the INI Field of A1 and C1 but you don't need to put anything in the On Activation Field for the waypoints.
Use the Waypoint Style that is shown in the picture but use triggers to make the soldiers eject.  Follow the waypoint line and put 3 trigger on it that have this in the On Activation Field:
TR 1:
A1 action ["Eject", C1]; A2 action ["Eject", C1]; A3 action ["Eject", C1]; A4 action ["Eject", C1];
TR 2:
A5 action ["Eject", C1]; A6 action ["Eject", C1]; A7 action ["Eject", C1]; A8 action ["Eject", C1];
TR 3:
A9 action ["Eject", C1]; A10 action ["Eject", C1]; A11 action ["Eject", C1]; A12 action ["Eject", C1];
Its something like the waypoint way but with the trigger way you can make it be so theres a time limit before they jump out and have different people activate it.
If you need something us just ask.

Hope this will help

Bye

Uberminch

  • Guest
Re:erm.......
« Reply #2 on: 29 Mar 2003, 18:50:13 »
Don't use transport unload. Try just using a Get Out wp with and Unload wp. That's simple enough.

LimeCordial

  • Guest
Re:erm.......
« Reply #3 on: 29 Mar 2003, 20:53:32 »
hmmmm..............i originally tried an eject script but that just made the choppers hover indefinatley over the area for some reason........and wehn i've used unload waypoints before the pilots have got out as well............. :-\

i just want the choppers to lift back off again after landing so that they would go to their next waypoint really......

thanks for that eject idea, if i cant get the choppers to lift back off again i'll try that......
« Last Edit: 29 Mar 2003, 20:55:08 by LimeCordial »