EVENT GAME
EVENT_GAME is an event that is triggered once per tic per sprite 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.
Very usefull, you can instead of modding original CON files, use ifactor MYACTOR to edit actors or ifactor APLAYER for add codes as if was added on APLAYER code without editing GAME.CON.
Most important, can edit hard-coded actor without breaking it using the actor MYENEMY code.
onevent EVENT_GAME ifactor RECON ifai 0 strength 50 ifactor RPG ifspawnedby BOSS2 spawn SMALLSMOKE endevent
This will change RECON strength and adding a trail to the RPG that Cycloid Emperor shoots.