Home   Help Search Login Register  

Author Topic: Helicopter Landing/Unloading Problem  (Read 857 times)

0 Members and 1 Guest are viewing this topic.

Mr.ThunderMakeR

  • Guest
Helicopter Landing/Unloading Problem
« on: 28 Nov 2002, 08:55:22 »
Ok im trying to do a cool "spec ops" type helo insertion with BAS's Littlebirds.  I got the littlebird to slide into the landing spot using the flyinheight command.

Now the problem is getting the chopper to stay put until the 4 black ops are out of the chopper.  With everything ive tried the pilot always wants to take off and land in his own spot while the troops are disembarking.  Meanwhile the troops are still getting out and end up falling 30m  ;D.

Ive tried everything from the helicopter land command to the disableai "move" command: nothing will get this idiot to stay in place. Ive also tried using setfuel to keep the chopper in place while they get out but for some reason this does a bunch of damage to the chopper and troops and makes them slide around on the ground.

Not sure if this matters but currently i am making the soldiers get out with a trigger that detects west, and on activation I used the array ordergetinfalse command.

major asshole

  • Guest
Re:Helicopter Landing/Unloading Problem
« Reply #1 on: 28 Nov 2002, 10:41:54 »

G'day

Try placing an invisible H where you want the chopper to land
Then try using  chopper1 land "get out" and the chopper should wait

hope this helps

L8R


Mr.ThunderMakeR

  • Guest
Re:Helicopter Landing/Unloading Problem
« Reply #2 on: 28 Nov 2002, 20:42:49 »
Thanks man, it works ;D

But I still have one problem, I used the setpos command to put the H underneath the chopper.  However I need figure out how to set a condition for the setpos trigger so that it isnt activated until the choppers speed is 0.

I tried messing around with the speed and velocity variables in the condition field, I cant figure out the context to get it to work though.

major asshole

  • Guest
Re:Helicopter Landing/Unloading Problem
« Reply #3 on: 29 Nov 2002, 07:27:54 »
G'day

Actually, you don't have to use the H but when you do the chopper will land(or whatever) at the H.It will come to the H.
If you don't use the H the chopper will just land wherever it is.

To check the speed you could try (I ain't too good at this)

?speed chopper1==0:and then whatever you want to happen

e.g. ?speed chopper1==0:chopper1 land "get out"

hope this helps

L8R