Hi! I am having a problem with multiple instances acting weird and interrupting each other's intended actions. The enemy event sheet contains a number of functions and as far as I understand it functions disregard instance.UID unless it is passed onto the function? So my question is: how do I pass instance UID onto a function to prevent the contents of the function to affect every instance of an object?
Specifically, when an enemy turns around (turning around is written in a function) every other enemy that don't need to turn around at that moment do so anyway and I guess it's because the function affects every instance because it disregard UID?
I have searched but the only answers I've found has been very hard to understand or explained poorly.
Thanks in advance!