Kid Charlemagne
I am the Very Model of a Modern Moderator
I think my way of handling this would be pretty close to Celtavian's, but I arrive at my answer in a slightly different logical method.
If the PC's are confronted by a group of baddies, with more in the woods hiding, they'll be on alert pretty much immediately. Depending on the situation I may give them perception rolls to see the hidden archers.
Even though initiative has yet to be rolled, we are for all intents and purposes already in combat, and I would handle things as if we were. I wouldn't necessarily say so, but in my games I've always handled this sort of situation in this way so it wouldn't be too unusual. Role-playing can happen without any rules being invoked but I'd go around the table and ask each player what action they are taking, if any, and limit them to a rounds worth at a time.
At the point in which the archers attack, mechanically speaking I would say that they are readying an attack (or whatever 5e calls it) for the end of that round. In 5e, IIRC, readying in this manner doesn't affect your actual initiative roll. Attacks would be made with advantage so long as the archers were in fact still hidden. If a PC had noticed them, I wouldn't give advantage against that PC, and might give that PC a perception check to notice the attack soon enough to allow him to warn the other PC's, in which case I'd still have all the archers attack at once, but without advantage.
Then, the next round starts, and combat progresses as normal. Initiative gets rolled, and the archers might go again before the PC's depending on that.
If the PC's are confronted by a group of baddies, with more in the woods hiding, they'll be on alert pretty much immediately. Depending on the situation I may give them perception rolls to see the hidden archers.
Even though initiative has yet to be rolled, we are for all intents and purposes already in combat, and I would handle things as if we were. I wouldn't necessarily say so, but in my games I've always handled this sort of situation in this way so it wouldn't be too unusual. Role-playing can happen without any rules being invoked but I'd go around the table and ask each player what action they are taking, if any, and limit them to a rounds worth at a time.
At the point in which the archers attack, mechanically speaking I would say that they are readying an attack (or whatever 5e calls it) for the end of that round. In 5e, IIRC, readying in this manner doesn't affect your actual initiative roll. Attacks would be made with advantage so long as the archers were in fact still hidden. If a PC had noticed them, I wouldn't give advantage against that PC, and might give that PC a perception check to notice the attack soon enough to allow him to warn the other PC's, in which case I'd still have all the archers attack at once, but without advantage.
Then, the next round starts, and combat progresses as normal. Initiative gets rolled, and the archers might go again before the PC's depending on that.