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: Less death more wounds, solution is here  (Read 8143 times)

0 Members and 1 Guest are viewing this topic.

RedHouse

  • Guest
Re:Less death more wounds, solution is here
« Reply #30 on: 18 Dec 2004, 00:12:33 »
Code: [Select]
("SoldierWMedic" countType [array__of_units_goes_here]) select 0
("SoldierEMedic" countType [array__of_units_goes_here]) select 0
("SoldierRMedic" countType [array__of_units_goes_here]) select 0

this might work for detectecting the 1st  east or west or resistance medic in an array of soldiers. if you want it to return an array of medics take out the select 0 part.

no garaunties if thats right but its something like that

and i reckon i could probabaly script this script just post the exact details and i'll have a good crack at it.

RedHouse

  • Guest
Re:Less death more wounds, solution is here
« Reply #31 on: 18 Dec 2004, 00:25:59 »
wait i just realised thats wrong because it returns a number not an arrray, but you can still use that command to get the medic