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: AT hold weapon  (Read 1686 times)

0 Members and 1 Guest are viewing this topic.

LordTedrick

  • Guest
AT hold weapon
« on: 02 Jun 2007, 18:16:02 »
How do I get an AI AT to just hold the laucher and not switch back to his rifle. I have tried selectweapon which just seems to last for about two seconds  >:(

Offline Blanco

  • Former Staff
  • ****
Re: AT hold weapon
« Reply #1 on: 02 Jun 2007, 19:07:58 »
Is this for a cutscene?

Very ugly script but it works:
Quote
#loop
?!alive unitname: exit
unitname switchmove "amovpknlmstpsraswlnrdnon"
~0.01
goto "loop"   



« Last Edit: 02 Jun 2007, 19:10:48 by Blanco »
Search or search or search before you ask.