Jump to content
Sign in to follow this  
Spades_Neil

Help: Pilot fold/unfold wings

Recommended Posts

I need help with a script that will allow pilots of AH1Z, MV22, and UH1Y to be able to fold and unfold their wings using a scroll-option while they are in the pilot's seat.

All I understand so far:

nul=[this,1] execVM "\ca\air2\mv22\scripts\pack.sqf"

nul=[this,1] execVM "\ca\air\Scripts\AH1Z_fold.sqf"

nul=[this,1] execvm "\ca\air2\UH1Y\Scripts\fold.sqf"

nul=[this,0] execVM "\ca\air2\mv22\scripts\pack.sqf"

nul=[this,0] execVM "\ca\air\Scripts\AH1Z_fold.sqf"

nul=[this,0] execvm "\ca\air2\UH1Y\Scripts\fold.sqf"

Now how do I add it to a vehicle's scroll-mouse menu while in the cockpit?

Share this post


Link to post
Share on other sites
check this post:

Ghost Pack/Unpack Script

I'm looking through the thread now. Seems they've got a bit of an issue on their hands regarding folding/unfolding the wings.

New idea, then. Can I have it set up so you have to be outside of the vehicle to unfold the wings? And when you're folding them, it shuts down the engine, locks the vehicle, and kicks out any occupants? To unlock and use the vehicle, you must use the scroll menu again.

I'll ask in the other thread for now unless someone can come up with a quick response for me here.

Edited by Spades_Neil

Share this post


Link to post
Share on other sites

The script itself works fine. Just check the paths to the scripts, and change to your correct path

Share this post


Link to post
Share on other sites
The script itself works fine. Just check the paths to the scripts, and change to your correct path

You've lost me.

The script to open/close wings already exists in ArmA 2. It's a script that allows me to open and close the wings in-game that I need and I don't understand how this helps me, because the problem they are having is they cannot close the wings without disabling the engines, resulting in hilariously glitchy sideways flying death machines.

Share this post


Link to post
Share on other sites

I'm talking about these lines:

_aircraftunpack = _aircraft addAction ["Unpack Aircraft", "dta\scripts\airunpack.sqf"];

_aircraftpack = _aircraft addAction ["Pack Aircraft", "dta\scripts\airpack.sqf"];

These must point to where you have airunpack.sqf and airpack.sqf

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×