Hello. I feel like this should be easy, but for some reason I can't seem to figure it out.
I need a way to fail an event if even just one instance of an object's variable matches a certain number.
Thanks.
Have a global call failed?? Then do a for each instance test and if one matches change the global fail to a 1. So 0=false and 1=true and then you can use that variable to do whatever you need done next. If I am understanding correctly.
ah that worked. thanks.
Develop games in your browser. Powerful, performant & highly capable.
this is how I would do it
ah that is what I was looking for mindFaQ. Thanks!
You don't even need the second condition. If none are picked, the action won't be called.
I don't think you even need to Pick, just do "Sprite: Fail = 1". That will automatically run if at least one sprite has its Fail set to 1.