hi, I made it this way:
(it also works fine, is it correct?)
I also did it this way, only excluding the ‘PrintIntro()’ from the loop.
While it works i’m not sure if it agrees with Unreal standards.
Could you clear this up for us please.
Thanks.
Yes, this way works as well. However there is an even simpler way of doing it.
while (AskToPlayAgain());
The above way works because by default, the while clause looks for if what you put into it, returns true, so you don’t need to specify that you are checking for true