InkRuntime

Inherits: Node

Description

A node encapsulating the static properties of the runtime and managing exceptions.

Exceptions don’t exists in GDScript, but they are emulated by the runtime and reported through exception_raised.

Properties

bool

do_not_save_default_values

false

bool

stop_execution_on_exception

false

bool

stop_execution_on_error

false

Signals

Emitted when the runtime encounters an exception. Exceptions are not recoverable and may corrupt the state. They are the consequence of either a programmer error or a bug in the runtime.

Property Descriptions

  • bool do_not_save_default_values

Default

true

Setter

set_dnsdv(value)

Getter

get_dnsdv()

When set to true, inkgd skips saving global values that remain equal to the initial values that were declared in ink. This property matches the static property declared in VariablesState.cs.


  • bool stop_execution_on_exception

Default

true

Setter

set_speoex(value)

Getter

get_speoex()

When set to true, inkgd uses assert() instead of push_error to report exceptions, thus making them more explicit during development.


  • bool stop_execution_on_error

Default

true

Setter

set_speoer(value)

Getter

get_speoer()

When set to true, inkgd uses assert() instead of push_error to report errors, thus making them more explicit during development.