onevent code for EVENT_GAME is executed every tick by every actor in the game. The gamevar THISACTOR refers to the ID of the actor executing the code. Thus, it takes the value of each actor in the game.