Over the past couple days, I've been playing around with a new game. I've found some interesting things that I didn't know about before; mainly Trigger Once. I've always had issues in the past using this with multiple instances, but have finally realized that if 2 instances do something at the same exact time, because the trigger once is global it will generally break the event.
So my request, or rather inquiry, is this; is there a way to get a "trigger once" for a sprite event instead of a system event? I know you can do something like this to create a proper trigger once per instance:
If InstanceVar = 0
Do something and Set InstanceVar to 1
This will always work, but it requires more lines of code, instance variables, and can certainly certain complicate code that is much more complex.
I'm imagining "For Each" is a solution, but everytime I try and use it, it never works like I want it to.
I'm curious of everyone else's thought on this.