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: Death Area  (Read 1274 times)

0 Members and 1 Guest are viewing this topic.

Offline jt

  • Members
  • *
Death Area
« on: 28 Aug 2006, 02:05:06 »
I want to ask how to let this happen:
  Anyone who is in/out of a given area,he will be "setdammage 1".Most like the area after the nuclear missile bombed.

Another question:
  How can I get all the mission I made through to make a campaign?Does anybody get some useful tools?
 
Thank you for any advance you make. 

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re: Death Area
« Reply #1 on: 28 Aug 2006, 09:28:13 »
A simple way would be to create a repeating trigger covering the area that will detect Anybody Present.  The Activation field should be:
{_x setDammage 1} forEach thislist

This will cause vehicles to be destroyed.  If you just want to kill the two legged units but leave the vehicles undamaged then try:

{{_x setDammage 1} forEach crew _x } forEach thislist

Offline jt

  • Members
  • *
Re: Death Area
« Reply #2 on: 28 Aug 2006, 13:28:45 »
It works. Thanks a lot!!!