iserith
Magic Wordsmith
OUt of curiosity, what in the rules had you running it this way? I thought the rules were fairly, though not explicitly, clear that you are hidden while doing the thing that breaks hidden, but not after.
I was basing my ruling on a creature no longer being hidden if it can be seen. So you'd no longer be hidden the moment you pop out to attack, whereas it seems the intent is a little closer to D&D 4e's handling of it in that you're hidden until you hit or miss. What this meant in play was that hidden was harder to achieve as it was more circumstantial (e.g. you have darkvision and the other guy doesn't and there's no light) which felt about right for the benefit.
Now I expect a lot more "I try to hide behind this tree, then pop out to attack..." in my upcoming sessions.
Then again, I also don't understand why people consider Perception the uber skill.
Probably because it's a very good defense in games that are run in particular ways. True story, I sometimes test out prospective DMs by taking a character with a very high passive Perception score. If they fret about it, it's an immediate red flag for me.
Edit: Though in one case, that backfired on me because the DM didn't say anything. And that was because he did't use passive checks - so my investment was basically a waste. D'oh!