Hi, I would like to know if there is a code that allows events to create local variables within the event itself? Something like this.event.variablename = 0 which I put inside an event.
Reason: I would like to create an event that will stop moving after it has been triggered more than 3 times. Instead of creating individual variables, I would like the event itself to keep track of it's own variable because I might create 100 events like this. Does that mean I have to create 100 variables just to keep track of it's number of triggers? Hope this is not confusing.
Reason: I would like to create an event that will stop moving after it has been triggered more than 3 times. Instead of creating individual variables, I would like the event itself to keep track of it's own variable because I might create 100 events like this. Does that mean I have to create 100 variables just to keep track of it's number of triggers? Hope this is not confusing.