OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: 456820 on 21 Mar 2005, 11:28:08

Title: choppers down
Post by: 456820 on 21 Mar 2005, 11:28:08
i have a cript that will make a chopper go down like in black hawk down but is it possible for the chopper to land at one place designated by a marker like the scripts activated so then the chopper spins out of control towrds the markr then land there.
Title: Re:choppers down
Post by: THobson on 21 Mar 2005, 11:36:31
Choppers land pretty much where they want.  You can force them by using an Invisible H and also by having a series of waypoints close together  each with a 'flyInHeight' lower then the previous one until you get it down to the gound.  

Bye the way did my other suggestion on loons in cargo work for you?
Title: Re:choppers down
Post by: 456820 on 21 Mar 2005, 11:40:49
oh yes the loons in cargo seemed to work fine thanks for that
but i thought that i could use a setpos get markerpos "marker name"
but im not sure if that would work and i dont know the exact line of code to use
Title: Re:choppers down
Post by: THobson on 21 Mar 2005, 11:46:09
If no one is watching and you don't mind the chopper going there instantly try

choppername setPos getMarkerPos "markername"

Note - you must use the "
Title: Re:choppers down
Post by: 456820 on 21 Mar 2005, 11:52:00
right thanks i will try that and see what it looks like
Title: Re:choppers down
Post by: 456820 on 21 Mar 2005, 12:07:56
yes that worked fine except i wasnt looking when the chopper went down but it will do thankyou