I've added event flags to my game engine, and in this video, I show how to set them and how to check them in the dialog's scripting system.