Warning: file_put_contents(/ff_8fd1a4ed5cc87d75a83729df7b2e0130eaa351a9d6e4051f.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
Helicopter Collision Avoidance (ARMA) by Mr.Peanut @ Editors Depot | OFPEC The Editing Center

Editors Depot

[ArmA] Helicopter Collision Avoidance (ARMA) by Mr.Peanut

Version 1.1
Added 07 Jul 2008
Downloads 638
Demo included Yes
Filesize 28.31KB
User rating 5/5

Selected list of AI helicopters will avoid collisions between eachother.

This script works by predicting each helicopter's position _dt seconds from present. If any of the helicopters are closer to each other than distance _dist they are nudged apart from each other with a speed based on the value of _spd. The _delay variable is the loop delay between collision checks. There is a degree of randomness involved. The helicopters will not always successfully avoid collision. In the demo provided there are eight AI helicopters, one of which will crash about 50% of the time in the first thirty seconds.

This script is also available for OFP Resistance



View the forum thread for this resource here.

Click to see 6 other resources by this author.


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...