Home   Help Search Login Register  

Author Topic: time delay help needed  (Read 650 times)

0 Members and 1 Guest are viewing this topic.

Longstreet

  • Guest
time delay help needed
« on: 06 Apr 2003, 13:59:27 »
hi, i want to get an AI controlled chopper to leave with a 1 minute time delay, so far i can only get it to leave straight away (yes i am VERY new) hw do i do this?

thanx.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:time delay help needed
« Reply #1 on: 06 Apr 2003, 14:01:43 »
In the WP menu there is sumthin like time delay with three boxes next to it. Now, put 60 in all three of does boxes and the chopper will lift off after 60 sec.

Longstreet

  • Guest
Re:time delay help needed
« Reply #2 on: 06 Apr 2003, 16:51:09 »
i tried that, it dosnt work the chopper still lifts off straight away. any other ideas?

Flapje

  • Guest
Re:time delay help needed
« Reply #3 on: 06 Apr 2003, 17:50:01 »
make a wp on top of him with the 60secs and then the other waypoint.

« Last Edit: 06 Apr 2003, 17:50:17 by Flapje »

Longstreet

  • Guest
Re:time delay help needed
« Reply #4 on: 06 Apr 2003, 18:00:41 »
ahhhh    ;)

Longstreet

  • Guest
Re:time delay help needed
« Reply #5 on: 06 Apr 2003, 18:58:08 »
make a wp on top of him with the 60secs and then the other waypoint.



this sounded good and i tried to , but no success. the chopper still lifts off straight away.   :'(

what it does now is take off, wait in the air for 1 minute (which is the amount of time  i set) then move off to the next waypoint. what am i doing wrong here?
« Last Edit: 06 Apr 2003, 20:22:17 by Longstreet »

Flapje

  • Guest
Re:time delay help needed
« Reply #6 on: 06 Apr 2003, 20:47:08 »
put in the init field of the waypoint: choppername flyinheight 1

aggressor35

  • Guest
Re:time delay help needed
« Reply #7 on: 06 Apr 2003, 20:59:50 »
make sure in the special box of your chopper that  NONE is there and not FLYING then do the waypoint thing up above.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:time delay help needed
« Reply #8 on: 06 Apr 2003, 21:32:33 »
Or you could do it this way.

In the init field of the chopper you put this setfuel 0

Then Place out the WPs and then make a trigger, cond field true, time delay 60, 60, 60 and on act field you put in ChopperName setfuel 1

Hope this one helps :).

Offline Igor Drukov

  • Contributing Member
  • **
  • Conscientious Subjector
Re:time delay help needed
« Reply #9 on: 06 Apr 2003, 21:39:52 »
Well, the problem with a "Move" waypoint on top of the chopper is that AI understands it as a place to be reached BY FLYING (since it is a chopper). The only way that I can think of right now is to write a script like this :
dostop mychopper
~60
mychopper domove getwppos [mychopper, x]
exit
( where x is the number of the waypoint of that chopper...)
If you're not a scripter yet, let me know, there's a tedious way with triggers that will use the same commands.
When I wrote this, the real armstrong's solution was not uploaded yet...
« Last Edit: 06 Apr 2003, 21:41:31 by Igor Drukov »