As NPC you play what's needed. It can be a consistent character like a village person who's always there. But it could also be "just another mob" really depends on the plot. But you can of course always ask for a certain role. As player you have a consistent character and have to stay in your role for the duration of the con.