Hey there, I ve got some questions about picking.
Triggers - If I set a trigger on some condition, will the code be aplied only the the instance, which fulfilled the condition (will be picked only the instance which caused the trigger)?
For each - Generally, when you want apply a code for every instance of a Type in several programming languages (no idea about HTML), you'd use "For each" or another loop. What is the difference between For each Object set variable to 0 and Pick all Object set variable to 0? Is there a difference in performance?
I already know, that "For each" pretty much picks one instance by one and applies the code individually, which can be actually better for the game designer's purposes, but there's a problem - C2 will not let you create triggers in loops, which is quite understadable as trigger is something to be called only in certain conditions. However there are also rather conviniet fake triggers, that are not really triggers, because they are evaluated every tick. My problem is - if I start the code for a certain Type with For each-, so I could spare myself trouble with Picking deeper in the code, I will not be able make conditions, that would prevent pointless evaluations for fake triggers.
Would the devs consider allowing fake triggers in loops? Also, it would be great to point out, which triggers are actually fake (Trigger once while true and collisions are obvious, but what about On animation "" finished)?