OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: ghostunit on 24 Mar 2003, 14:38:32
-
>:( I have downloaded two para scrpits both work the same but! in the first waypoint i have a flyinheight of 120-125. when i use anything above this the helli goes around in circles at the next waypoint which is the para.sqs, and does not exec the .sqs. i have even tried this in the missions that came with the scripts and it is the same result pls will someone add to the this script a specifeid height so it will still exec the .sqs. is this a game bug? i want to be able to parachute above 200-300. :-*
_aunits = units L1
_i = 0
_Max = count _aunits
#Here
(_aunits select _i) action ["EJECT",helo]
unassignvehicle (_aunits select _i)
_i=_i+1
~1
?_Max>_i:goto "Here"
exit
-
I don't know if this helps, but I know toadlife's real HALO script on the front page of this site has the ability to jump from very high and it's an excellent parachute script for AI... ;)
If that doesn't help, maybe it's the type of chopper you're using? (The Chinook would probably be the best for high altitudes, but I'm not sure...) ::) ;)
Asmo
-
yes i'd recomend toadlifes script.
Unless you want to make an infatic loop setpos script that loops every millisecond and lifts th chopper up half a meter every milisecond so it looks like the chopper is flying up naturally....
Ok, maybe toadlifes script is the best!
-
I got the same problem but with SEBnam pack, and I don't think they did very much paradrops in nam :P, so if anybody knows a solution anyway...
btw. my chopper flies at 250 I think
-
IN order to get a chopper to fly above 120m, you cannot use standard waypoints. You have to use the "move" command.
The way I do it is to use gamelogics as waypoints and a script like so:
chopper move getpos gl1
@chopper distance gl1 < 700
chopper move getpos gl2
@chopper distance gl2 < 700
This is messy but it works relatively well. The distance ususally has to be adjusted according to the alititude the chopper flies at. I can get choppers to fly at 450m using this method. Any alitiude over that will never work.