Incari Studio
2.0
2.0
  • Incari Studio Documentation
  • Getting Started
    • Requirements
    • Installation
  • Interface
    • Logic Editor
    • Project Outliner
    • Global Preferences
    • Attribute Editor
    • Material Editor
  • Objects
    • Project Objects
      • Scene
      • Screen
    • Scene Objects
      • Camera
      • Group
      • Lights
      • List
      • Mesh
      • Sprites
        • Sprite
        • Text
  • Toolbox
    • Array
      • Array Value
      • Clear Array
      • Concat Arrays
      • Get Array Element
      • Length of Array
      • Pop Array Element
      • Push Array Element
      • Set Array Element
    • DateTime
      • Date Time Formatter
      • Now (UTC)
      • System Time
      • Timezone Value
    • Events
      • Keyboard
        • On Key Press
        • On Key Release
    • Flow Control
      • Branch
      • Is Equal
      • Is Greater Equal
      • Is Less Equal
      • Select Data
      • Sequential
      • Switch
      • Toggle
    • Math
      • Add
      • Boolean
        • AND
        • Negate
        • OR
      • Ceil
      • Clamp
      • Divide
      • Floor
      • Maximum
      • Minimum
      • Modulo
      • Multiply
      • Power
      • Range Mapper
      • Root
      • Subtract
    • Incari
      • List
        • Generate List
        • Next List Entry
        • Previous List Entry
        • Select List Entry
        • Set Active
        • Set Current Index
      • Object
        • Get Alpha
        • Set Alpha
        • Get Scale
        • Set Scale
        • Get Rotation
        • Set Rotation
        • Get Position
        • Set Position
        • Get Visibility
        • Set Visibility
        • Set Tint
        • Get Tint
        • Get Material
        • Set Material
        • Set Text
    • Utilities
      • Group
Powered by GitBook
On this page
  • Overview
  • Attributes
  • Inputs
  • Outputs
  • Execution Order
  • Example 1
  • Example 2
  • Example 3

Was this helpful?

  1. Toolbox
  2. Flow Control

Sequential

PreviousSelect DataNextSwitch

Last updated 3 years ago

Was this helpful?

Overview

The Sequential Node generates a user-defined number of Output Pulses, and executes their Logic sequentially (one after the other), with the top-most Pulses being executed first. The one caveat to this is, that if any Nodes that pause, or delay the flow of Logic are used, they will only affect that particular Branch, not the other Output Pulses (See Execution Order below).

They are used primarily as a means of grouping and organizing blocks of logic with a similar or combined purpose into a more visually readable way.

Attributes

Attribute
Type
Description

Pulse Count

Int

The number of Output Pulses that will be executed in the sequence.

Inputs

Input
Type
Description

Pulse Input (â–º)

Pulse

A standard input Pulse, to trigger the execution of the Node.

Outputs

Output
Type
Description

Pulse [n]

Pulse

A Pulse which is executed sequentially from top-to-bottom. The total number of Pulses is defined in the Pulse Count Attribute.

Execution Order

Example 1

Here, we output three written numbers to the console, using the Sequential Node. As one might expect, the numbers are shown immediately after one another, in the correct order:

One   [0 seconds]
Two   [0 seconds]
Three [0 seconds]

Example 2

When we add a Start Timeout Node, which delays the execution of Branch, one might expect the numbers to be output in order, with a delay between "One" and "Two". This, however, is not the case, as Timeout Nodes only affect the Branch that they're on. You will instead see the following output, exactly as before:

One   [0 seconds]
Two   [0 seconds]
Three [0 seconds]

Example 3

This becomes much clearer, when we insert a Start Timeout Node before the Console Node is executed. Now we see that "Two" and "Three" are shown immediately, whereas "One" is output to the console after the given time has elapsed.

Two   [0 seconds]
Three [0 seconds]
One   [1 second]