Home   Help Search Login Register  

Author Topic: He doesn´t land where he should!  (Read 459 times)

0 Members and 1 Guest are viewing this topic.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
He doesn´t land where he should!
« on: 28 Feb 2003, 20:59:42 »
Ok, IÂ've been working on a chopper script to do a nice smooth landing. HereÂ's a part

#con
_chopper domove getmarkerpos "_GL"
@(_chopper distance _GL) < 500
_chopper flyinheight 195

#con2
_chopper domove getmarkerpos "_GL"
@(_chopper distance _GL) < 475
_chopper flyinheight 185

#con3
_chopper domove getmarkerpos "_GL"
@(_chopper distance _GL) < 460
_chopper flyinheight 175



Now, IÂ've got a 'domove' command in there but the chopper just lands where he stands. He doesnÂ't fly to '_GL' and then land. What must I do? Plz help.

Thx in advance.
« Last Edit: 28 Feb 2003, 21:00:14 by The real Armstrong »

Offline toadlife

  • OFPEC Old Skool
  • Former Staff
  • ****
  • Official OFP Editing Center Toad
    • toadlife.net
Re:He doesn´t land where he should!
« Reply #1 on: 28 Feb 2003, 21:17:36 »
In the editor, place an invisible helipad at the spot where you want the chopper to land and it will land there.

ALso, don't use the 'domove' or 'commandmove' commands on choppers. Use the 'move' command instead.
« Last Edit: 28 Feb 2003, 21:18:55 by toadlife »
"Whenever you want information on the 'net, don't ask a question; just post a wrong answer." -- Cancer Omega.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:He doesn´t land where he should!
« Reply #2 on: 28 Feb 2003, 21:45:21 »
ok, thx.

Gumby

  • Guest
Re:He doesn´t land where he should!
« Reply #3 on: 01 Mar 2003, 18:23:02 »
I had the same problem and placed a topic here...

Name " To those who want a chopper to land.." or something like that..

You should be able to find what you need there..

It is a couple of days old, but it is still there...


.. Gumby!!

Gumby

  • Guest
Re:He doesn´t land where he should!
« Reply #4 on: 01 Mar 2003, 18:25:02 »


By the way..   Be careful to use the flyinheight command..

It courses the chopper to hover over the landingsites instead of landing...
Been there, done that...