1. I want to be able to build a "turret" in the building (i.e. allow it to fire at enemies). In order to do this, my plan was to give the building a weapon in the unitdef and set
Code: Select all
canAttack = false,
fireState = 0,
noAutoFire = true,
2. I want the buildings to be able to repair units when a certain upgrade is researched. However, apparently I can't set canRepair = true if I have a yardmap in the unitdef. What gives?
Thanks!