Hello,
I still seem to get a bit confused about some of Construct's inner workings. Maybe you guys can help me out a bit.
I have a family "Ships". I want to pick all ships that have their private variable "status" set to "Engaged" and then run several checks and actions on them.
Does it work like this?
Pick Ships by comparison: Ships('status') = "Engaged"
Move to Enemy...
[/code:l4jytlz0]
or do I have to do it like this:
[code:l4jytlz0]
Pick Ships by comparison: Ships('status') = "Engaged"
For each Ships
Move to Enemy...
[/code:l4jytlz0]
Meaning: When I "Pick object by comparison", does it loop through all objects picked automatically within that event, or do I have to do the "For each object" to loop through them?
And: Does the For each then loop through all the Ships, or just the ones I filtered through picking in the parent event?