Hello!
Me again.
How do you count instances with a certain property or variable value?
For example on this screen there are 10 blocks with the setting collision enabled. Or there are 10 blocks with the variable value set to True. How do I let Construct count that and return me the value of 10?
create a global variable "Count"
on trigger (left button clicked or something)
for each object
object variable value is true
trigger once
Develop games in your browser. Powerful, performant & highly capable.
LittleStain
Took me a few minutes to figure out how you meant with the event coding, but then I understood what you meant. I have now applied it, with some tweaks from my original goal, to make it simpler.
Thank you.
easier:
event:
object variable = xyz
action:
set var_number = object.pickedcount
mindfaQ
Thank you, that was better!