Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Hull turning script for tanks  (Read 3676 times)

0 Members and 1 Guest are viewing this topic.

Offline schaefsky

  • Members
  • *
Hull turning script for tanks
« on: 02 Dec 2009, 01:11:27 »
## Script for Arma 2 by schaefsky
## Makes a tank turn its hull towards nearest known enemy tank
## Version: 0.1
##
## Parameters: A tank on which to execute the script
## Usage: _nil = [tankUnit] execVM "hullTurn.sqf";
##
## Commercial use prohibited!
##
## If you want to use this script or parts of it, credits would be nice.

Script uses doMove command to make the tank turn its hull.
Script included in archive and sample mission.

Comments, suggestions are welcome!