my problem is here: I want to check whether global boolean variable is true or false in one of my customPawn's function.
For simplicity, let's say that I want bots to kill me when I enter the room without greeting. So in this case I would need to store somewhere variable didGreet, it should be changed when I send message "Hello" and than when any pawn sees me, he will check didGreet variable and if this was false he would start firing at me. Hope it is clear enough what I need.
I've heard that this should be done using gameInfo class, but unfortunately I don't know how to create, access and change variables there.