I'm having some difficulties working out precisely how Function calling and Parameters work for my project
Basically, in my main project, I have a family of sprites with a wide variety of behaviors that I would like to make as separate Functions, but I'm having trouble passing the right 'picked' instances to the function
Right now I'm passing the UID of the instance to the function, but the problem I'm running into is that, if the function is called multiple times per tick, only the first UID is acted upon.
I've got a simple project demonstrating the issue:
(note that my own project is much more complex than this, so I'm not looking for work-arounds to make this specific demo work)
In it, there are a number of instances of the same sprite. Those instances have a boolean 'Active'. Any instance with 'Active' true should use the function 'Hop'. But if more than one instance is active, only the first instance hops.
I hope this makes sense, I haven't found anything on the forums beyond passing the UID to the function. Thanks in advance!