Editors Depot

[Arma2] Practical uses of the attachTo command Part 4 by Norrin

Version 2.0
Added 19 Aug 2009
Downloads 637
Demo included Yes
Filesize 5.95KB
User rating 4/5

Move to helicopter door and fire is a script that allows you to move from the seat position within a UH-1 to the door way so that you can fire outside while the chopper is moving. (Updated)

To implement in your own missions
1. Copy the heliDoor folder from the test mission into your mission file.
2. Create a UH-1 in the editor and name it, , then in the chopper’s init box put:

nul = [this] execVM "heliDoor\heliDoor_init.sqf";

3. Create a player in the editor and name it.

To use:
1. Get in the chopper once inside you should get an action that allows you to move to the left or right door
2. To aim: bring up the iron sights and hold the alt key to move your aim point around
3. Press "R" to reload
4  Press "INSERT" to move back to your seat - NB you will need to do this to disembark the chopper

If the chopper is accelrating or decelerating hard you may bob around a bit inside while at the doors and may not be able to shoot - unfortunately this is a limitation of the

attachTo command. When in level flight it seems to work really nicely.

Test Mission
Get in the back of the chopper and then move to the door (you can also do this while in flight).  Order the pilot to move to a position on the map.  Try moving to each door and back again.



Helidoor Script Update (Version 0.2)

This script is hopefully fully multiplayer compatible now, also added firing positions for the UH-60S.

View the forum thread for this resource here.

Click to see 14 other resources by this author.

Search OFPEC Editors Depot


The OFPEC Command Reference contains details of all scripting commands available to the editor.

Beginner's Tutorial

All you need to know about how to start editing.

Multiplayer Tutorial

This tutorial explains the mysteries of multiplayer editing.

OFPEC Tutorials

OFPEC hosts several quality tutorials written specifically for the site by staff and members...


Register a tag, browse for addon keys...