OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Arctic on 09 Oct 2002, 03:53:49

Title: AI Helicopter Hovering
Post by: Arctic on 09 Oct 2002, 03:53:49
How can I make a helicopter piloted by an AI soldier hover? Is there a way I could make it hover in a script?
Title: Re:AI Helicopter Hovering
Post by: Black Magic on 09 Oct 2002, 04:13:30
There are many ways but for this a simple waypoint with Timeout's max, min and mid set to the amount of time you wish it to hover in seconds will do the trick.
Title: Re:AI Helicopter Hovering
Post by: Black_Feather on 09 Oct 2002, 04:41:49
if you want it close to the ground you can use this

unitname Land "get out"
Title: Re:AI Helicopter Hovering
Post by: CareyBear on 09 Oct 2002, 06:57:04
And last but not least, if you want it to hover for an indefinite amount of time, set the next waypoint synchronised with Switch trigger, set to whatever condition you want.