Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Game development stories & opinions
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.
Develop games in your browser. Powerful, performant & highly capable.
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.
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.