Home   Help Search Login Register  

Author Topic: Repeating Helicopters  (Read 909 times)

0 Members and 1 Guest are viewing this topic.

Neal

  • Guest
Repeating Helicopters
« on: 15 Jul 2005, 01:07:03 »
What scripts/commands would I need to make a helicopter go back and forth to a spot (LZ)?

Like:

Land 5-10 seconds, then go back to base and land for 5-10 seconds, then go back to same spot and land 5-10 seconds and back to base 5-10 seconds, etc.

What im trying to do is have a non-stop helicopter transporting troops into a LZ. Like in We Were Soldiers, just not 15 helicopters, like 2.

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Repeating Helicopters
« Reply #1 on: 15 Jul 2005, 08:05:23 »
Have you tried setting it up to do it once using waypoints, then use a Cycle waypoint to go back to the begining and start again?

Neal

  • Guest
Re:Repeating Helicopters
« Reply #2 on: 15 Jul 2005, 18:16:27 »
Well doing that wont have them land, just fly to it, hover then leave.

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Repeating Helicopters
« Reply #3 on: 15 Jul 2005, 18:18:58 »
Even if the waypoint has a land command in it?

Neal

  • Guest
Re:Repeating Helicopters
« Reply #4 on: 15 Jul 2005, 19:05:16 »
Trying it now but also is there a way to accelerate time in the MP, like have 5 seconds be 1 second real time. etc...

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Repeating Helicopters
« Reply #5 on: 15 Jul 2005, 19:23:58 »
I'm not sure.  You could try it and see what happens - or post a queston on the MP board.

Neal

  • Guest
Re:Repeating Helicopters
« Reply #6 on: 21 Jul 2005, 18:10:48 »
Ok with the helis they land but they dont stay. They land then take off all in about 2 seconds. How can I get the heli to stay down for about 15 seconds?

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Repeating Helicopters
« Reply #7 on: 21 Jul 2005, 21:39:26 »
put a delay on the next waypoint

Neal

  • Guest
Re:Repeating Helicopters
« Reply #8 on: 22 Jul 2005, 02:34:50 »
Command? lol

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Repeating Helicopters
« Reply #9 on: 22 Jul 2005, 04:44:40 »
no, in the waypoint itself, you can add delays.
I'm not sure if you put the delay in the waypoint you want it to wait at or the one it wil go to next but with a few minutes of testing you could figure it out

Offline Blip

  • Members
  • *
  • ...Old OFP FART...
Re:Repeating Helicopters
« Reply #10 on: 22 Jul 2005, 04:55:33 »
you could script all the landings.

In the waypoint put [heloname] exec "script.sqs."

Script.sqs
Code: [Select]
_helo = _this select 0
_helo flyinheight 0
;disembark/load all your troops
~10
_helo flyinheight 20
exit

Usually the way I script helo inserts.  It worked pretty well for my mission In the Presence of Danger, which was a mock we were soldiers mission.

Blip :joystick:
« Last Edit: 22 Jul 2005, 04:56:22 by Blip »
...NIGHT WALKER....