Story Writing
59 nodes
On this page 59
Achieve
FunctionGrants an achievement.
Achieve(sequence: Sequence, achievement: Text) -> Sequence
Sequence Achieve(Sequence sequence, string achievement)
Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | |
| achievement | Text | — |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Add Choice
FunctionThe choices with one more after them.
AddChoice(choices: Choices, choice: Choice) -> Choices
Choices AddChoice(Choices choices, ChoiceOption choice)
Parameters
| name | type | default | description |
|---|---|---|---|
| choices | Choices | — | |
| choice | Choice | — |
Returns
| Choices | Choices |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Apply Effect
FunctionChanges the story's variables at this point: an effect from the Effects nodes, such as Add To Variable.
ApplyEffect(sequence: Sequence, effect: Effect) -> Sequence
Sequence ApplyEffect(Sequence sequence, Effect effect)
Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | The sequence so far. |
| effect | Effect | — | The change. |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Call
FunctionRuns another label and comes back.
Call(sequence: Sequence, label: Text) -> Sequence
Sequence Call(Sequence sequence, string label)
Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | |
| label | Text | — |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Call Screen
FunctionShows a screen and waits for the player to answer it; the answer is in _return afterwards.
CallScreen -> Sequence
sequence: Sequence
screen: Text
with: Text
argument: TextSequence CallScreen(
Sequence sequence,
string screen,
string with = "",
string argument = "")Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | The sequence so far. |
| screen | Text | — | The screen's name. |
| with | Text | — | A transition. |
| argument | Text | — | A value for the screen's first parameter, as typed; empty for none. |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Call Variable
FunctionRuns the label a variable names, then comes back.
CallVariable(sequence: Sequence, variable: Text) -> Sequence
Sequence CallVariable(Sequence sequence, string variable)
Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | |
| variable | Text | — |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Call With Arguments
FunctionRuns another label with arguments for its parameters, each as typed: a number, true, text.
CallWithArguments -> Sequence
sequence: Sequence
label: Text
first: Text
second: Text
third: TextSequence CallWithArguments(
Sequence sequence,
string label,
string first = "",
string second = "",
string third = "")Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | |
| label | Text | — | |
| first | Text | — | |
| second | Text | — | |
| third | Text | — |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Centered
FunctionText in the middle of the screen with no window, as for a chapter title.
Centered(sequence: Sequence, text: Text) -> Sequence
Sequence Centered(Sequence sequence, string text)
Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | |
| text | Text | — |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Concatenate
FunctionOne sequence followed by another.
Concatenate(first: Sequence, second: Sequence) -> Sequence
Sequence Concatenate(Sequence first, Sequence second)
Parameters
| name | type | default | description |
|---|---|---|---|
| first | Sequence | — | |
| second | Sequence | — |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Extend
FunctionContinues the line before, as when a thought is finished after a pause.
Extend(sequence: Sequence, text: Text) -> Sequence
Sequence Extend(Sequence sequence, string text)
Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | |
| text | Text | — |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Hard Pause
FunctionWaits for some seconds and cannot be clicked through.
HardPause(sequence: Sequence, seconds: Number) -> Sequence
Sequence HardPause(Sequence sequence, double seconds)
Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | |
| seconds | Number | — |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Hide
FunctionHides an image.
Hide(sequence: Sequence, tag: Text, with: Text) -> Sequence
Sequence Hide(Sequence sequence, string tag, string with = "")
Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | |
| tag | Text | — | |
| with | Text | — |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Hide Screen
FunctionHides a shown screen.
HideScreen -> Sequence
sequence: Sequence
screen: Text
with: TextSequence HideScreen(
Sequence sequence,
string screen,
string with = "")Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | |
| screen | Text | — | |
| with | Text | — |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Hide With Options
FunctionHides an image on a layer.
HideWithOptions -> Sequence
sequence: Sequence
tag: Text
with: Text
layer: TextSequence HideWithOptions(
Sequence sequence,
string tag,
string with = "",
string layer = "")Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | |
| tag | Text | — | |
| with | Text | — | |
| layer | Text | — |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
If
FunctionRuns one sequence or another depending on a condition.
If -> Sequence
sequence: Sequence
condition: Condition
then: Sequence
otherwise: SequenceSequence If(
Sequence sequence,
Condition condition,
Sequence then,
Sequence otherwise)Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | The sequence so far. |
| condition | Condition | — | A condition from the Conditions nodes, such as Variable At Least. |
| then | Sequence | — | What happens when it holds. |
| otherwise | Sequence | — | What happens when it does not; may be left empty. |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Input
FunctionAsks the player to type into a variable.
Input -> Sequence
sequence: Sequence
variable: Text
prompt: Text
defaultText: TextSequence Input(
Sequence sequence,
string variable,
string prompt,
string defaultText = "")Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | |
| variable | Text | — | |
| prompt | Text | — | |
| defaultText | Text | — |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Input With Options
FunctionAsks the player to type into a variable, with a length and the characters allowed.
InputWithOptions -> Sequence
sequence: Sequence
variable: Text
prompt: Text
defaultText: Text
maximumLength: Integer
allowed: TextSequence InputWithOptions(
Sequence sequence,
string variable,
string prompt,
string defaultText = "",
int maximumLength = 24,
string allowed = "")Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | The sequence so far. |
| variable | Text | — | The variable the answer goes into. |
| prompt | Text | — | The question. |
| defaultText | Text | — | What the field holds to begin with. |
| maximumLength | Integer | 24 | The longest answer accepted. |
| allowed | Text | — | The characters that may be typed; empty for any. |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Jump
FunctionContinues at another label.
Jump(sequence: Sequence, label: Text) -> Sequence
Sequence Jump(Sequence sequence, string label)
Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | |
| label | Text | — |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Jump From Function
FunctionContinues at the label a function of the story's variables names: a Function graph taking Story Variables and answering text.
JumpFromFunction -> Sequence
sequence: Sequence
label: Func<Story Variables, Text>Sequence JumpFromFunction(
Sequence sequence,
Func<StoryVariables, string> label)Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | The sequence so far. |
| label | Func<Story Variables, Text> | — | The function that names the label. |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Jump To Variable
FunctionContinues at the label a variable names.
JumpToVariable(sequence: Sequence, variable: Text) -> Sequence
Sequence JumpToVariable(Sequence sequence, string variable)
Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | |
| variable | Text | — |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Menu
FunctionOffers choices. Each choice carries the sequence that follows it.
Menu -> Sequence
sequence: Sequence
caption: Text
first: Choice
second: Choice
third: Choice
fourth: ChoiceSequence Menu(
Sequence sequence,
string caption,
ChoiceOption first,
ChoiceOption second,
ChoiceOption third,
ChoiceOption fourth)Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | The sequence so far. |
| caption | Text | — | A line shown with the choices; empty shows none. |
| first | Choice | — | The first choice. |
| second | Choice | — | The second choice. |
| third | Choice | — | A third choice, if any. |
| fourth | Choice | — | A fourth choice, if any. |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Menu From Choices
FunctionOffers as many choices as Add Choice collected, with a line above them.
MenuFromChoices -> Sequence
sequence: Sequence
caption: Text
choices: Choices
name: Text
once: TextSequence MenuFromChoices(
Sequence sequence,
string caption,
Choices choices,
string name = "",
string once = "")Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | The sequence so far. |
| caption | Text | — | A line shown with the choices; empty shows none. |
| choices | Choices | — | The choices, from Start Choices and Add Choice. |
| name | Text | — | A name for the menu, so a jump can come back to it; empty for none. |
| once | Text | — | A list variable that remembers choices taken and hides them, for "ask about each topic once"; empty for none. |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Movie
FunctionPlays a full-screen movie.
Movie -> Sequence
sequence: Sequence
file: Text
skippable: TruthSequence Movie(
Sequence sequence,
string file,
bool skippable = true)Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | |
| file | Text | — | |
| skippable | Truth | True |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Movie With Options
FunctionA full-screen movie, which may keep the music playing under it.
MovieWithOptions -> Sequence
sequence: Sequence
file: Text
skippable: Truth
keepMusic: TruthSequence MovieWithOptions(
Sequence sequence,
string file,
bool skippable = true,
bool keepMusic = false)Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | |
| file | Text | — | |
| skippable | Truth | True | |
| keepMusic | Truth | False |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Narrate
FunctionNarration: a line with no speaker.
Narrate(sequence: Sequence, text: Text) -> Sequence
Sequence Narrate(Sequence sequence, string text)
Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | |
| text | Text | — |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Notify
FunctionShows a notification.
Notify(sequence: Sequence, text: Text) -> Sequence
Sequence Notify(Sequence sequence, string text)
Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | |
| text | Text | — |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
NVL Clear
FunctionClears the full-screen NVL page.
NvlClear(sequence: Sequence) -> Sequence
Sequence NvlClear(Sequence sequence)
Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Pause
FunctionWaits for a click, or for some seconds.
Pause(sequence: Sequence, seconds: Number) -> Sequence
Sequence Pause(Sequence sequence, double seconds = 0)
Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | The sequence so far. |
| seconds | Number | 0 | How long; 0 waits for a click. |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Play
FunctionPlays a file on any channel: music, sound, voice, ambience, or one the story defines.
Play -> Sequence
sequence: Sequence
channel: Text
file: Text
fadeIn: NumberSequence Play(
Sequence sequence,
string channel,
string file,
double fadeIn = 0)Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | |
| channel | Text | — | |
| file | Text | — | |
| fadeIn | Number | 0 |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Play Music
FunctionPlays music, which loops until stopped or replaced.
PlayMusic -> Sequence
sequence: Sequence
file: Text
fadeIn: NumberSequence PlayMusic(
Sequence sequence,
string file,
double fadeIn = 1)Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | The sequence so far. |
| file | Text | — | The music file among the game's files. |
| fadeIn | Number | 1 | Seconds to fade in. |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Play Sound
FunctionPlays a sound once.
PlaySound(sequence: Sequence, file: Text) -> Sequence
Sequence PlaySound(Sequence sequence, string file)
Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | |
| file | Text | — |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Play With Options
FunctionPlays files on a channel with every option a script's play has.
PlayWithOptions -> Sequence
sequence: Sequence
channel: Text
files: Text
fadeIn: Number
fadeOut: Number
loop: Text
volume: Number
ifChanged: TruthSequence PlayWithOptions(
Sequence sequence,
string channel,
string files,
double fadeIn = 0,
double fadeOut = -1,
string loop = "",
double volume = 1,
bool ifChanged = false)Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | The sequence so far. |
| channel | Text | — | The channel: music, sound, voice, ambience, or one the story defines. |
| files | Text | — | Files or audio names, separated by commas, played in order. |
| fadeIn | Number | 0 | Seconds to fade in. |
| fadeOut | Number | -1 | Seconds to fade out what played; below 0 takes the channel's. |
| loop | Text | — | loop, once, or empty for the channel's habit. |
| volume | Number | 1 | Relative volume, 0 to 1. |
| ifChanged | Truth | False | Do nothing if the same files already play. |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Python Block
FunctionPython run against the story's variables where the sequence reaches it; what it sets that the story can hold goes back into the story. The game needs Novella.Python, which Divooka Compute has.
PythonBlock(sequence: Sequence, code: Text) -> Sequence
Sequence PythonBlock(Sequence sequence, string code)
Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | The sequence so far. |
| code | Text | — | The Python, as many lines as it needs. |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Queue
FunctionAdds files to a channel's queue, to play when what plays now ends.
Queue -> Sequence
sequence: Sequence
channel: Text
files: Text
loop: Text
volume: NumberSequence Queue(
Sequence sequence,
string channel,
string files,
string loop = "",
double volume = 1)Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | |
| channel | Text | — | |
| files | Text | — | |
| loop | Text | — | |
| volume | Number | 1 |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Return
FunctionReturns from a called label, or ends the game.
Return(sequence: Sequence) -> Sequence
Sequence Return(Sequence sequence)
Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Return Value
FunctionReturns from a called label with a value, as typed, which the caller reads as _return.
ReturnValue(sequence: Sequence, value: Text) -> Sequence
Sequence ReturnValue(Sequence sequence, string value)
Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | |
| value | Text | — |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Return Variable
FunctionReturns from a called label with a variable's value.
ReturnVariable(sequence: Sequence, variable: Text) -> Sequence
Sequence ReturnVariable(Sequence sequence, string variable)
Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | |
| variable | Text | — |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Run Command
FunctionRuns a command the game implements; its result is in _return afterwards.
RunCommand -> Sequence
sequence: Sequence
command: Text
arguments: TextSequence RunCommand(
Sequence sequence,
string command,
string arguments = "")Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | The sequence so far. |
| command | Text | — | The command's name. |
| arguments | Text | — | Arguments as expressions, separated by commas: "lantern", 3. |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Run Command With Values
FunctionRuns a command the game implements with arguments, each as typed; its result is in _return afterwards.
RunCommandWithValues -> Sequence
sequence: Sequence
command: Text
first: Text
second: Text
third: TextSequence RunCommandWithValues(
Sequence sequence,
string command,
string first = "",
string second = "",
string third = "")Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | |
| command | Text | — | |
| first | Text | — | |
| second | Text | — | |
| third | Text | — |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Say
FunctionA line of dialogue.
Say -> Sequence
sequence: Sequence
character: Text
text: Text
attributes: TextSequence Say(
Sequence sequence,
string character,
string text,
string attributes = "")Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | The sequence so far. |
| character | Text | — | The speaking character's id; empty for narration. |
| text | Text | — | The line. Text tags ({b}, {w}...) and [variable] work. |
| attributes | Text | — | Image attributes to show on the speaker, such as smile. |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Say As
FunctionA line from someone who is not a defined character, such as a shopkeeper.
SayAs(sequence: Sequence, speaker: Text, text: Text) -> Sequence
Sequence SayAs(Sequence sequence, string speaker, string text)
Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | |
| speaker | Text | — | |
| text | Text | — |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Say Briefly
FunctionA line whose expression change lasts only while it is up.
SayBriefly -> Sequence
sequence: Sequence
character: Text
text: Text
attributes: TextSequence SayBriefly(
Sequence sequence,
string character,
string text,
string attributes)Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | |
| character | Text | — | |
| text | Text | — | |
| attributes | Text | — |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Say Line
FunctionA line with everything a script line can carry: an expression change for the line or after it, a transition, an id for translations.
SayLine -> Sequence
sequence: Sequence
character: Text
text: Text
attributes: Text
briefly: Text
with: Text
ID: TextSequence SayLine(
Sequence sequence,
string character,
string text,
string attributes = "",
string briefly = "",
string with = "",
string id = "")Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | The sequence so far. |
| character | Text | — | The speaking character's id; empty for narration. |
| text | Text | — | The line. |
| attributes | Text | — | Image attributes shown on the speaker from this line on, such as smile. |
| briefly | Text | — | Image attributes shown only while this line is up, such as shy. |
| with | Text | — | A transition as the line appears; empty for none. |
| ID | Text | — | An id of the author's choosing, which translations can name; empty for one made from the text. |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Scene
FunctionClears the stage and shows a background.
Scene(sequence: Sequence, image: Text, with: Text) -> Sequence
Sequence Scene(
Sequence sequence,
string image = "",
string with = "")Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | The sequence so far. |
| image | Text | — | The background, such as bg garden; empty clears to black. |
| with | Text | — | A transition, such as fade. |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Scene With Options
FunctionClears the stage (or a layer) and shows a background, which may be placed or animated, such as a slow pan.
SceneWithOptions -> Sequence
sequence: Sequence
image: Text
with: Text
layer: Text
at: Text
animation: AnimationSequence SceneWithOptions(
Sequence sequence,
string image = "",
string with = "",
string layer = "",
string at = "",
Animation animation)Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | The sequence so far. |
| image | Text | — | The background; empty clears to black. |
| with | Text | — | A transition. |
| layer | Text | — | The layer to clear, when not the master one. |
| at | Text | — | Transforms for the background, separated by commas. |
| animation | Animation | — | An animation for the background. |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Script
FunctionAdds statements written as script, for anything the other nodes do not cover.
Script(sequence: Sequence, script: Text) -> Sequence
Sequence Script(Sequence sequence, string script)
Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | The sequence so far. |
| script | Text | — | Statements in Novella script, one per line. |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Sequence To Script
FunctionA sequence written as script, to read what a chain of nodes makes.
SequenceToScript(sequence: Sequence) -> Text
string SequenceToScript(Sequence sequence)
Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — |
Returns
| Script | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Show
FunctionShows an image, or changes one showing.
Show -> Sequence
sequence: Sequence
image: Text
at: Text
with: TextSequence Show(
Sequence sequence,
string image,
string at = "",
string with = "")Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | The sequence so far. |
| image | Text | — | The image's name: a tag and attributes, such as qinglan smile. |
| at | Text | — | Where: left, center, right, or a transform the story defines; empty keeps the position. |
| with | Text | — | A transition: dissolve, fade, moveinright...; empty is instant. |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Show Screen
FunctionShows a screen over the game and carries on: a status bar, a map button.
ShowScreen -> Sequence
sequence: Sequence
screen: Text
with: Text
argument: TextSequence ShowScreen(
Sequence sequence,
string screen,
string with = "",
string argument = "")Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | The sequence so far. |
| screen | Text | — | The screen's name. |
| with | Text | — | A transition. |
| argument | Text | — | A value for the screen's first parameter, as typed; empty for none. |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Show With Options
FunctionShows an image with everything a script's show can say: where, behind what, how high in the stack, under what name, on which layer, and an animation of its own.
ShowWithOptions -> Sequence
sequence: Sequence
image: Text
at: Text
with: Text
behind: Text
zorder: Integer
showAs: Text
layer: Text
animation: AnimationSequence ShowWithOptions(
Sequence sequence,
string image,
string at = "",
string with = "",
string behind = "",
int zorder = 0,
string showAs = "",
string layer = "",
Animation animation)Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | The sequence so far. |
| image | Text | — | A tag and attributes, such as qinglan smile. |
| at | Text | — | Transforms, separated by commas; one taking arguments is written as a call, such as bob(30). |
| with | Text | — | A transition. |
| behind | Text | — | Tags to show it behind, separated by commas. |
| zorder | Integer | 0 | Its place in the stack: higher is nearer; 0 is the default. |
| showAs | Text | — | Another tag to show it under, so one image can show twice. |
| layer | Text | — | A layer other than the master one. |
| animation | Animation | — | An animation of its own, from the Animation nodes. |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Start Choices
FunctionNo choices yet, to add to with Add Choice.
StartChoices() -> Choices
Choices StartChoices()
Returns
| Choices | Choices |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Start Sequence
FunctionAn empty sequence to build on.
StartSequence() -> Sequence
Sequence StartSequence()
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Stop
FunctionStops a channel.
Stop -> Sequence
sequence: Sequence
channel: Text
fadeOut: NumberSequence Stop(
Sequence sequence,
string channel = "music",
double fadeOut = 1)Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | |
| channel | Text | music | |
| fadeOut | Number | 1 |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Voice
FunctionSets the voice file for the next line.
Voice(sequence: Sequence, file: Text) -> Sequence
Sequence Voice(Sequence sequence, string file)
Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | |
| file | Text | — |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Voice Sustain
FunctionKeeps the voice playing on through the next line.
VoiceSustain(sequence: Sequence) -> Sequence
Sequence VoiceSustain(Sequence sequence)
Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
While
FunctionRepeats a sequence while a condition holds.
While -> Sequence
sequence: Sequence
condition: Condition
body: SequenceSequence While(
Sequence sequence,
Condition condition,
Sequence body)Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | |
| condition | Condition | — | |
| body | Sequence | — |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Window
FunctionShows or hides the dialogue window: show, hide or auto.
Window(sequence: Sequence, mode: Text) -> Sequence
Sequence Window(Sequence sequence, string mode = "auto")
Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | |
| mode | Text | auto |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
Window With Transition
FunctionShows or hides the dialogue window with a transition: show, hide or auto.
WindowWithTransition -> Sequence
sequence: Sequence
mode: Text
with: TextSequence WindowWithTransition(
Sequence sequence,
string mode,
string with)Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | |
| mode | Text | — | |
| with | Text | — |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels
With
FunctionRuns a transition over what changed since the last line.
With(sequence: Sequence, transition: Text) -> Sequence
Sequence With(Sequence sequence, string transition)
Parameters
| name | type | default | description |
|---|---|---|---|
| sequence | Sequence | — | |
| transition | Text | — |
Returns
| Sequence | Sequence |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Story Writing
- Package
- Novella Visual Novels