Home   Help Search Login Register  

Author Topic: HELO PROBLEMS  (Read 1393 times)

0 Members and 1 Guest are viewing this topic.

Darren Fletcher

  • Guest
HELO PROBLEMS
« on: 29 Oct 2004, 21:45:16 »
ok chaps im having some problems with helis

i have a mi17 with the men onboard no problems and have 3 move waypoints the second waypoint runs the parascript.sqs line

_aunits = units para1
_i=0
_max=count _aunits

#here
(_aunits select _i) action ["eject",h1]
unassignvehicle (_aunits select _i)
_i=_i+1
~2
?_max>_i:goto "here"

Exit

this is the script above

now on to the problem when the helo gets to the 2nd waypoint it just orbits and never drops the men out, i have the flying hight=130 set right at the start on the init section of the chopper so i know the chopper is at the right hight.

i found a turtorial showing how this works and it does if the enemy are not there but as the para drop is into the war zone the helo sees the battle and does not drop. but the helo is set on careless so im not sure why.

now i can get it to work every time is the waypoint with the script is the last one ie remove the last move waypoint so im looking for some links to help areas or some help in running this.

I have tryed the demo one and that works but if i place a enemy there and shoot at the helo that also fails to drop out the men so i belive its a script problem.

looking forward to some help
Darren Fletcher

rudyvarner

  • Guest
Re:HELO PROBLEMS
« Reply #1 on: 29 Oct 2004, 21:59:16 »
What if you set the Helo to "never fire"?  

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Not all is lost.

Darren Fletcher

  • Guest
Re:HELO PROBLEMS
« Reply #3 on: 29 Oct 2004, 23:50:42 »
the helo is on never fire but will try the hight as 100 and see what happens thanks for the fast responds, will get back to you.

Darren Fletcher

Darren Fletcher

  • Guest
Re:HELO PROBLEMS
« Reply #4 on: 30 Oct 2004, 01:25:51 »
It works!!!

thanks very much i spent about 2 hours trying differnt things to fix this.

Is 100 the max hight you can use AI flown helo's then to make sure that they hit the waypoints?

Fletch

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:HELO PROBLEMS
« Reply #5 on: 30 Oct 2004, 10:20:46 »
Well, it seems not with regular waypoints..

Here is some more reading for you about the subject and a script that allows you to move your chopper over 100 meters high.

http://www.ofpec.com/yabbse/index.php?board=6;action=display;threadid=16591;start=0
Not all is lost.