BLDG-LRSHIELD1 that's what I find in the ''name'' box but that don't work, structures like the troop center have a second name like BLDG-TRAINTROOPER, second names works fine.
Edit: DONE! thank very much for the program that really help me, i used the unit code in this case 1194 and that works fine thank you
(defrule
(building-type-count 1194 == 0)
=>
(resign)
(disable-self)
)[This message has been edited by DarthT (edited 10-19-2014 @ 11:50 PM).]