Input

This contains the source code documentation of the class subsystem_Input.

subsystem_Input

Inherits: DialogicSubsystem

Subsystem that handles input, Auto-Advance, and skipping.

Description

This subsystem can be accessed via GDScript: Dialogic.Inputs.

Properties


Methods

ReturnsMethod
voidblock_input ( time: float = 0.1 )
voidclear_game_state ( _clear_flag: int = 0 )
voideffect_autoadvance ( text_node: Control, skipped: bool, argument: String )
voideffect_input ( text_node: Control, skipped: bool, argument: String )
voideffect_noskip ( text_node: Control, skipped: bool, argument: String )
voidhandle_input ( )
voidhandle_node_gui_input ( event: InputEvent )
boolis_input_blocked ( )
voidpause ( )
voidpost_install ( )
voidresume ( )
voidstart_autoskip_timer ( )
voidstop_timers ( )

Signals

signal autoskip_timer_finished ( )

Whenever the Auto-Skip timer finishes, this signal is emitted. Configure Auto-Skip settings via auto_skip.


signal dialogic_action ( )

No description available.


signal dialogic_action_priority ( )

No description available.


Property Descriptions

var action_was_consumed = false

No description available.


var auto_advance = null

No description available.


var auto_skip = null

No description available.


var input_block_timer =

No description available.


var manual_advance = null

No description available.


Method Descriptions

func block_input ( time: float = 0.1 ) ⇒ void

No description available.


func clear_game_state ( _clear_flag: int = 0 ) ⇒ void

No description available.


func effect_autoadvance ( text_node: Control, skipped: bool, argument: String ) ⇒ void

No description available.


func effect_input ( text_node: Control, skipped: bool, argument: String ) ⇒ void

No description available.


func effect_noskip ( text_node: Control, skipped: bool, argument: String ) ⇒ void

No description available.


func handle_input ( ) ⇒ void

No description available.


func handle_node_gui_input ( event: InputEvent ) ⇒ void

This is called from the gui_input of the InputCatcher and DialogText nodes


func is_input_blocked ( ) ⇒ bool

No description available.


func pause ( ) ⇒ void

No description available.


func post_install ( ) ⇒ void

No description available.


func resume ( ) ⇒ void

No description available.


func start_autoskip_timer ( ) ⇒ void

This method will advance the timeline based on Auto-Skip settings. The state, whether Auto-Skip is enabled, is ignored.


func stop_timers ( ) ⇒ void

No description available.