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: Spawning AI SP  (Read 1153 times)

0 Members and 1 Guest are viewing this topic.

Spawning AI SP
« on: 08 Feb 2007, 07:51:30 »
Me and the Enclave Team have decided to make a Stalingrad recreation like off of Call of Duty and we were wondering how do you keep spawning AI in Single Player Missions or if it is even possible

-1mmorta1

www.enclaveofp.tk

Feel free to Email me at "sebastianphillips@gmail.com"

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Spawning AI SP
« Reply #1 on: 08 Feb 2007, 08:09:08 »
using createUnit command:

"unit type" createUnit [position, group, "init field", skill level, "rank"]

Offline norrin

  • Tutorial Writer
  • **
Re: Spawning AI SP
« Reply #2 on: 16 Feb 2007, 00:27:47 »
@Sebastian Phillips

I've just written some scripts that do this for both non-playable AI units and vehicles in ArmA, which you can read about here.  Some of the cmds are different in ArmA so I'm not sure if this will help but it may act as a guide.