Where is the Loop Operator?

Golaem Crowd does not include a Loop operator as a loop "while(trigger) then…" can be build from the provided operators. To do so, you can use the Alternative Operator node the following way:
 
  1. Add an Alternative Operator in the stream. The current exiting arrow corresponds to the default behavior is no alternative is chosen (default else)


     
  2. Add the behavior(s) to loop out of the stream


     
  3. Create a new alternative in the Alternative Operator with this behavior by creating a new connection between the two nodes (middle click from the operator to the behavior). Notice that this new connection is linked to a trigger (its entry trigger: if (trigger) then…). By default its value is set to true. See the Alternative Operator Reference if needed


     
  4. As we want the behavior to loop once finished, it is then required to connect its exit to the Alternative Operator (middle click from the behavior to the operator). Thus, its entry trigger (which is always true) will be evaluated again and the behavior will be played if when its own starting trigger returns true.


     
With this mechanism, any sequence or composition of behaviors can be looped easily and controlled.