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 Set Satchel Charge.  (Read 3084 times)

0 Members and 1 Guest are viewing this topic.

Offline Brandon

  • Members
  • *
AI Set Satchel Charge.
« on: 11 Mar 2007, 17:08:00 »
Put this in the "Init" field of a unit or in the "On Act" area in a waypoint/trigger.

Code: [Select]
Unitname fire "pipebombmuzzle"
The unit will set a satchel charge.

Code: [Select]
Unitname action ["TOUCHOFF", Unitname]
The unit will set off the satchel charge.

Make sure the unit you have selected to do this has satchels already in his inventory, otherwise this will not work.