Home   Help Search Login Register  

Author Topic: how do you get a helicopter or boat to pick units up?  (Read 811 times)

0 Members and 1 Guest are viewing this topic.

vassili

  • Guest
In my mission i've set the waypoints for a helicopter so that it moves to a certain place, how do I get it to pick units up from this place, i've tried using a load waypoint but it just flies off without stopping to pick the units up.

thanx

Offline Captain Crunch

  • Members
  • *
Re:how do you get a helicopter or boat to pick units up?
« Reply #1 on: 08 Jun 2003, 16:28:09 »
Hi Vassisli!


There a several scripts You can use to achieve this. Check the Editors Depot! ;)

There aer fairly easy to use!
Back to the forest!

vassili

  • Guest
Re:how do you get a helicopter or boat to pick units up?
« Reply #2 on: 08 Jun 2003, 16:58:49 »
thanks for the advice, but i couldnt find anything in the depot. could you give me a link or sumthing?

thanks

Offline Captain Crunch

  • Members
  • *
Re:how do you get a helicopter or boat to pick units up?
« Reply #3 on: 08 Jun 2003, 17:18:21 »
Ofcourse! ;)


http://www.ofpec.com/editors/browse.php?browsewhat=2&category=2_4



(clic "Editors Depot" under the Operation Flashpoint label, then un the left of the screen scroll down 'til You see "Script Snippets" then just browse through 'til You find what You lookin' for.) 8)
Back to the forest!

KyleSarnik

  • Guest
Re:how do you get a helicopter or boat to pick units up?
« Reply #4 on: 08 Jun 2003, 23:46:58 »
vassili you need to syncronize the LOAD waypoint with a GET IN waypoint that  belongs to the units.

Offline Captain Crunch

  • Members
  • *
Re:how do you get a helicopter or boat to pick units up?
« Reply #5 on: 09 Jun 2003, 00:11:50 »
No this won't work.

   First put a move waypoint for the chopper, in the On Acti field type ChoppeName FlyInHeight 1, then right beside it put a load waypoint (or a move does the trick too).    

 Next put a move waypoint for the ground troop right in front of the leader, synchro with the first move waypoint of the chopper, then add another move waypoint for the troop right beside the chopper's first waypoint, then finaly a getin waypoint.
Back to the forest!

Offline Captain Crunch

  • Members
  • *
Re:how do you get a helicopter or boat to pick units up?
« Reply #6 on: 09 Jun 2003, 00:18:08 »
Oh! And ofcourse, place another move waypoint for the chopper where You want it to fly.

THINGS I FORGOT TO MENTION:

In the GETIN waypoint, in the On activi field put:      GO = True

Then place a switch trigger with axis 0, 0

Type GO in the condition field and synchr it with the chopper's first waypoint!


 Et voilà chum!

Back to the forest!

Offline Captain Crunch

  • Members
  • *
Re:how do you get a helicopter or boat to pick units up?
« Reply #7 on: 09 Jun 2003, 00:37:17 »
Hmm.

  I've tried it and it works fine except for that when I place the switch trigger, the chopper will fly to its first waypoint but stay high 'till his speed is almost to stop, then descend. Let me see if I can make the pilot a bit more wreckless!

 Did it work well for You?? Does this satisfy You?
Back to the forest!

KyleSarnik

  • Guest
Re:how do you get a helicopter or boat to pick units up?
« Reply #8 on: 09 Jun 2003, 03:32:26 »
you could just make an H(invisable), put a LOAD waypoint over it, put in the activation feild choppername flyinheight 0, syncrinize it w/ the units GET IN waypoint, put a move waypoint for the chopper next to the LOAD wp and in activiation feild put choppername flyinheight 30 and then make the next wp you want chopper to fly to



:gunman:                                                                                                                             :moon:
Shake shake shake :booty:

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:how do you get a helicopter or boat to pick units up?
« Reply #9 on: 09 Jun 2003, 13:17:59 »
if 1 of da units is player unit (nd even if its not da next method can b used ;D) - dont use WPs

just use da next script

Code: [Select]
chopername move getpos place <-------- make sure dat place is Helipad (can b invisible)
@ chopername distance place < 150
chopername land "get in"
chopername  flyinheight 0
"_X assignascargo chopername" foreach units groupname
"[_X] ordergetin true" foreach units groupname
@ "_X in chopername" count units groupname == count units groupname
chopername move getpos somwereelse <-------------------- dats were u want it 2 take em

if u want me 2 continue - i can - but dat only if u use dis way ;D

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta