Home   Help Search Login Register  

Author Topic: how can i make chopper wait for soldier?  (Read 630 times)

0 Members and 1 Guest are viewing this topic.

coolisamy

  • Guest
how can i make chopper wait for soldier?
« on: 06 Apr 2004, 08:49:14 »
how can i make a chopper take off only when someone onboard?
 ??? ??? ???

xenofanes

  • Guest
Re:how can i make chopper wait for soldier?
« Reply #1 on: 06 Apr 2004, 12:48:03 »
First set fuel of chopper to 0 and than this line in a script:

?(myunit in chopper) : chopper setfuel 1


Or make the chopper fly 0m above the ground like this:

chopper flyinheight 0

and then sync the two units waypoints together. Have to go now -> in a hurry

coolisamy

  • Guest
Re:how can i make chopper wait for soldier?
« Reply #2 on: 06 Apr 2004, 16:14:44 »
Thanks Man!

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re:how can i make chopper wait for soldier?
« Reply #3 on: 07 Apr 2004, 21:06:21 »
You can also put this in the condition line of the waypoint,

playername in heloname,

example,

Gastovski in helo1

 :D
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."

coolisamy

  • Guest
Re:how can i make chopper wait for soldier?
« Reply #4 on: 09 Apr 2004, 17:00:32 »
I know that.... but thanks anyway...!

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:how can i make chopper wait for soldier?
« Reply #5 on: 10 Apr 2004, 07:19:55 »
You can also use a line like this in the condition field of the waypoint:

count (crew heli) > 5

That line would make the chopper wait until there are at least 6 guys aboard before taking off. For best effect, combine it with the heli flyinheight 0 line... just use a flyinheight 20 in the on activation field of the same waypoint ;)