Quote from: emabolo on Wed 20/01/2021 18:29:07
I know that people more expert than me will disagree, but this is why I prefer to use the custom properties of the objects. In my case I have defined a new boolean property called "hasBeenExamined" and it applies to all objects. This way I can do something like:Code: ags if (oNotebook.GetProperty("hasBeenExamined")) { dDialog1.Start(); } else { cCharacter.Say("Can't talk right now"); }
Could you write a step-by-step guide of what you do when creating the variable "hasBeenExamined" and making it work? Like, first you click "create global variable" or what it now says on the sidebar. What do you do after that?