View source
final class DialogueNextLineEvent
package funkin.backend.scripting.events.dialogue
extends CancellableEvent
CANCEL this event to prevent continuing with the next dialogue.
NOTE: To access the current, past or next lines, use curLine
, lastLine
or also dialogueLines
in the DialogueCutscene
class (they're globals and can be accessed at any time as long as the Dialogue Cutscene is active)!
Constructor
Variables
Methods
Inherited Variables
Defined by CancellableEvent
Inherited Methods
Defined by CancellableEvent
View in GitHub
preventDefault(c:Bool = false):Void
Prevents default action from occurring.
Parameters:
c | Whenever the scripts following this one should be called or not. (Defaults to |
---|
View in GitHub
toString():String
Returns a string representation of the event, in this format:
[CancellableEvent]
[CancellableEvent (Cancelled)]
Returns:
String