OFPEC Forum

Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: Bingoz on 12 Feb 2011, 07:11:29

Title: Helo Land direction?
Post by: Bingoz on 12 Feb 2011, 07:11:29
I have been searching around and have found many scripts that land helos, but I have not found any that will allow adjustments to the Direction of witch the helo is facing on the landing.

Typically the helo will turn, WHY!? I have no idea, as a fact I think it is kind of redundant, and really a pain in the ass.

Can anyone post and idea, suggestion, link or information regarding this BUG~!.

Thanks.


PS: seems I am dominating the forums here, I am wondering if I am the only one looking for some assistance. :)
Title: Re: Helo Land direction?
Post by: h- on 12 Feb 2011, 08:00:28
It's not a bug, it's a feature.

As for controlling the chopper setDir works fine here, to prove it does I just made a very rudimentary test by setdirring a chopper with a repeating trigger.

You also have the commands setVectorDir (http://www.ofpec.com/COMREF/index.php?action=details&id=753&game=All), setVectorUp (http://www.ofpec.com/COMREF/index.php?action=details&id=754&game=All), setVectorDirAndUp (http://www.ofpec.com/COMREF/index.php?action=details&id=847&game=All), setVelocity (http://www.ofpec.com/COMREF/index.php?action=details&id=321&game=All) and if you're using OA you also have setVelocityTransformation (http://www.ofpec.com/COMREF/index.php?action=details&id=1386&game=Arma2OA) to manipulate the speed/movement/orientation of the chopper.

Also BIS functions have a lot of usefull stuff; put the functions module into the mission and while prewieving do a [] call bis_fnc_help from a trigger or something and it opens up a dialog with all kinds of nifty functions that might be useful.


Personally I don't see anything that horrifying in the fact that the helo turns when landing.. :dunno:
Title: Re: Helo Land direction?
Post by: Bingoz on 12 Feb 2011, 18:35:18
it’s a BUG because its BUGing me :)

I am working on a script right now using all the mentioned -transform.

I am having a hard time working out the ways of keeping it fluid, as a result I have rewritten the script many times using different this different that, all with no success as of yet. I would be very happy if any one has any samples to study.

Thanks for the reply.

PS: I will definitely post any successes.