Actor Help. Firing Mechanism

I'm working on a shooter and I want the missiles to fire when the user touches the button. So basically you touch to move the ship around but I want it so when the user touches the button, the ship will fire a missile. Anyone know how?
Comments
on the button make a rule that says, when touch is pressed, change attribut "shoot" to true
then on the ship actor, make a rule that says when attribut "shoot" is true, spawn actor "missile"
then in the missile actor make an accelerate behavior.
hope this helps