Home   Help Search Login Register  

Author Topic: Less death more wounds, solution is here  (Read 4414 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