Putting a condition on firing a projectile

Just put a bool in the character, default is false. Only let the gun fire when the bool is true. The other event set the bool to true.