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
|
||
|
||
|
Signals
exception_raised ( String message, PoolStringArray stack_trace )
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 |
|
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 |
|
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 |
|
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.