Skip to content

Commit 444ba9d

Browse files
Update Custom Event Example/Template (#839)
Removed the no longer needed stylebox from the Example custom event. Also slighlty modified the example event script.
1 parent f0a0386 commit 444ba9d

File tree

2 files changed

+3
-20
lines changed

2 files changed

+3
-20
lines changed

addons/dialogic/Example Assets/CustomEvents/Stylebox.tres

Lines changed: 0 additions & 17 deletions
This file was deleted.

addons/dialogic/Example Assets/CustomEvents/event_yourname_000.gd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ extends Node
44
func handle_event(event_data, dialog_node):
55
"""
66
If this event should wait for dialog advance to occur, uncomment the WAITING line
7-
If this event should wait for the user to pick a choice, uncomment the WAITINT_INPUT line
7+
If this event should block the dialog from continuing, uncomment the WAITINT_INPUT line
88
While other states exist, they generally are not neccesary, but include IDLE, TYPING, and ANIMATING
99
"""
10-
#dialog_node.set_state(state.WAITING)
11-
#dialog_node.set_state(state.WAITING_INPUT)
10+
#dialog_node.set_state(dialog_node.state.WAITING)
11+
#dialog_node.set_state(dialog_node.state.WAITING_INPUT)
1212

1313
pass # fill with event action
1414

0 commit comments

Comments
 (0)