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: Ai needs to stay clear of minefields.  (Read 3009 times)

0 Members and 1 Guest are viewing this topic.

Offline granQ

  • Contributing Member
  • **
    • Anrop.se
Ai needs to stay clear of minefields.
« on: 09 Nov 2009, 02:50:24 »
For arma 1, me and kungtotte had a cti in which you could order a helicopter to make a minefield, this ones were like 50x100 meters.

During the game, there could be plenty of minefields, but I need a way for the ai to use them against us but more importantly and what I really need help with, is how to make the ai not use the road once they put mines there.

Have to make a trigger that detect their forces and try to send them around with adding waypoints around it? Only solution i can think off.
Cura Posterior

Offline ZapBrannigan

  • Members
  • *
Re: Ai needs to stay clear of minefields.
« Reply #1 on: 11 Nov 2009, 16:17:32 »
get their direction and if they enter the trigger just setpos them across to the other side. if the player is nearby then you need to find a better way.