well, i used the trick with the promote-function for my pikeman. A other idea is that the gate has a two attacks with a strengh 0, one with the closed and one with the opened gate and you can changed them . But i think the other solution is better, because with this you have a "morph-animation" means closing or opening the gate can be animated (look better).