Skip to content
Moritz Brückner edited this page Nov 6, 2023 · 22 revisions

Logic Nodes Reference: Misc nodes

This reference was generated automatically. Please do not edit the page directly, instead change the docstrings of the nodes in their Python files or the generator script and open a pull request. Thank you for contributing!

This reference was built for Armory 2023.11.


Node Categories

Miscellaneous

Boolean to Int

Returns an int depending on the respective boolean state.

Boolean to Int node

Sources: Python | Haxe

Boolean to Vector

Returns a vector depending on the respective boolean state.

Boolean to Vector node

Sources: Python | Haxe

Call Node Group

Calls the given group of nodes.

Call Node Group node

Sources: Python | Haxe

Default if Null

Returns the connected value only if it is not null, otherwise the default value is returned.

Default if Null node

Inputs:

  • Value: the one that will be eventually null
  • Default: will be returned in case the primary value is null

Sources: Python | Haxe

Get Application Time

Returns the application execution time and the delta time.

Get Application Time node

Sources: Python | Haxe

Get Debug Console Settings

Returns the debug console settings.

Get Debug Console Settings node

Sources: Python | Haxe

Get Display Resolution

Returns the current display resolution.

See also:

Get Display Resolution node

Sources: Python | Haxe

Get Frames Per Second

Get the frames per second count.

Get Frames Per Second node

Sources: Python | Haxe

Get Window Resolution

Returns the current window resolution.

See also:

Get Window Resolution node

Sources: Python | Haxe

Group Input Node

Input for a node group.

Group Input Node node

Sources: Python | Haxe

Group Nodes (Deprecated)

DEPRECATED. This node is deprecated and will be removed in future versions of Armory. Please use the following node(s) instead: Group Input Node.

Sets the connected chain of nodes as a group of nodes.

Group Nodes (Deprecated) node

Sources: Python | Haxe

Group Output Node

Output for a node group.

Group Output Node node

Sources: Python | Haxe

Regular Expression

The first argument is a string with a regular expression pattern, the second one is a string with flags.

Regular Expression node

Inputs:

  • RegExp Pattern: regular expression patterns such as
    • .: any character
    • *: repeat zero-or-more
    • +: repeat one-or-more
    • ?: optional zero-or-one
    • [A-Z0-9]: character ranges
    • [^\r\n\t]: character not-in-range
    • (...): parenthesis to match groups of characters
    • ^: beginning of the string (beginning of a line in multiline matching mode)
    • $: end of the string (end of a line in multiline matching mode)
    • |: "OR" statement.
  • RegExp Flags: possible flags are the following
    • i: case insensitive matching
    • g: global replace or split, see below
    • m: multiline matching, ^ and $ represent the beginning and end of a line
    • s: the dot . will also match newlines (not supported by C# and JavaScript versions before ES2018)
    • u: use UTF-8 matching (Neko and C++ targets only)
  • String: String to match, split or replace
  • Replace: String to use when replace

Outputs:

  • Match: boolean result comparing the regular expression pattern with the string
  • Matched: array containing list of matched patterns
  • Split: array string of string splits using the pattern
  • Replace: new string with the pattern replaced

Sources: Python | Haxe

Set Debug Console Settings

Sets the debug console settings.

Set Debug Console Settings node

Sources: Python | Haxe

Set Time Scale

Sets the global time scale.

Set Time Scale node

Sources: Python | Haxe

Sleep

Waits a specified amount of seconds until passing through the incoming signal.

Sleep node

Sources: Python | Haxe

Timer

Runs a timer with a specified amount of repetitions.

Timer node

Inputs:

  • Start: Start the timer or continue if paused. In both cases, the values of Duration and Repeat are (re-)evaluated.
  • Pause: Pause the timer.
  • Stop: Stop and reset the timer. This does not activate any outputs.
  • Duration: The time in seconds that the timer runs.
  • Repeat: The number of times the timer will repeat, or 0 for infinite repetition.

Outputs:

  • Out: Activated after each repetition.
  • Done: Activated after the last repetition (never activated if Repeat is 0).
  • Running: Whether the timer is currently running.
  • Time Passed: The time in seconds that has passed since the current repetition started, excluding pauses.
  • Time Left: The time left in seconds until the timer is done or the next repetition starts.
  • Progress: Percentage of the timer's progress of the current repetition (Time Passed/Duration).
  • Repetitions: The index of the current repetition, starting at 0.

Sources: Python | Haxe

Layout

Frame

Reroute

Clone this wiki locally