Skip to content

behavioural sequence

49

The behavioural sequence node is used for linear, step-by-step operations. It attempts to execute all of its children (out0 through out16) in order.

Key Logic: * If a child returns Success, the Sequence moves to the next child. * If any child returns Failure, the Sequence stops immediately and returns Failure to its parent. * The Sequence only returns Success if all of its children succeed.

When to use this node: * Multi-Part Actions: Scripting a chain of events that must happen perfectly, such as: "Check if Player is Present" → "Lock Door" → "Turn on Alarm". * Conditional Tasks: Ensuring a prerequisite is met before performing a follow-up action.

Connectors in

  • in [type: behaviour]

Connectors out

  • out0 [type: behaviour]
  • out1 [type: behaviour]
  • out2 [type: behaviour]
  • out3 [type: behaviour]
  • out4 [type: behaviour]
  • out5 [type: behaviour]
  • out6 [type: behaviour]
  • out7 [type: behaviour]
  • out8 [type: behaviour]
  • out9 [type: behaviour]
  • out10 [type: behaviour]
  • out11 [type: behaviour]
  • out12 [type: behaviour]
  • out13 [type: behaviour]
  • out14 [type: behaviour]
  • out15 [type: behaviour]
  • out16 [type: behaviour]