-
-
Notifications
You must be signed in to change notification settings - Fork 23
PopochiuDialogOption
Carenalga edited this page Nov 28, 2022
·
2 revisions
Inherits Resource.
Class for manipulating a single dialog option.
-
always_on bool. Default
false
. Whether this option should be rendered always as not already selected. -
disabled bool. Default
false
. Whether this option is disabled. Iftrue
, the option won´t be rendered. -
id String. Default
''
. The identifier of the option used in scripts. -
text String. Default
''
. The text to show on screen for the option. -
visible bool. Default
true
. Whether this option is visible.
-
used bool. Default
false
. Whether the option was already selected. Iftrue
, then the option'stext
will be shown darker in the options menu so players know they already clicked that option. -
used_times int. Default
0
. The number of times this options has been clicked.
Nothing here yet.
Nothing here yet.
-
turn_off() void
Makes the option invisible.
-
turn_off_forever() void
Disables the option.
-
turn_on() void
Makes the option visible. Won´t work if the option is
disabled
.
-
set_id( String
value
) voidSets
value
to theid
,script_name
andresource_name
properties.
Nothing here yet.