What's a guy's intention actually when he asked you out which you're not sure if it's only for you or your group of friends but then forgets about it yet he kept hinting he was flirting with you?

YOU are in control of how things go. The next time you see him tell him to knock it off and you don't like playing games. Be you own woman! Let him know you aren't one to be taken down the garden path so easily. Tell him if he wants to date you then ask and if not, then what are his intentions. By being honest and letting him know you aren't into head games and flirting he'll either come to the point or leave you alone.