Divooka Reference

Characters

4 nodes

On this page 4

Character Part Style

Function

A character whose lines draw a part with a style of the story's: their own window, name tab, name or text.

Signature
CharacterPartStyle -> Character Definition
    character: Character Definition
    part: Text
    style: Text
CharacterDefinition CharacterPartStyle(
    CharacterDefinition character,
    string part,
    string style)

Parameters

nametypedefaultdescription
characterCharacter Definition—The character.
partText—window, namebox, who (the name) or what (the line).
styleText—The style that part draws with.

Returns

CharacterCharacter Definition
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Characters
Package
Novella Visual Novels

Make Character

Function

Makes a character.

Signature
MakeCharacter -> Character Definition
    ID: Text
    name: Text
    color: Text
    image: Text
    sideImage: Truth
    nvl: Truth
CharacterDefinition MakeCharacter(
    string id,
    string name,
    string color = "",
    string image = "",
    bool sideImage = false,
    bool nvl = false)

Parameters

nametypedefaultdescription
IDText—The name the story uses, such as qinglan.
nameText—The name shown when they speak; may use [variable].
colorText—The name's colour, such as #c0392b.
imageText—The character's image tag, so lines can change the expression; empty for none.
sideImageTruthFalseWhether to show the character's image beside their lines.
nvlTruthFalseWhether the character speaks on the full-screen NVL page.

Returns

CharacterCharacter Definition
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Characters
Package
Novella Visual Novels

Set Character Style Property

Function

A character with a style property set on a part of their lines for them alone: whatsize40, windowbackground"#200000".

Signature
SetCharacterStyleProperty -> Character Definition
    character: Character Definition
    part: Text
    property: Text
    value: Text
CharacterDefinition SetCharacterStyleProperty(
    CharacterDefinition character,
    string part,
    string property,
    string value)

Parameters

nametypedefaultdescription
characterCharacter Definition—The character.
partText—window, namebox, who (the name) or what (the line).
propertyText—The property, as a script names it.
valueText—Its value, as a script writes it.

Returns

CharacterCharacter Definition
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Characters
Package
Novella Visual Novels

Style Character

Function

A character with a different text colour, font or quotation marks.

Signature
StyleCharacter -> Character Definition
    character: Character Definition
    textColor: Text
    font: Text
    prefix: Text
    suffix: Text
CharacterDefinition StyleCharacter(
    CharacterDefinition character,
    string textColor = "",
    string font = "",
    string prefix = "",
    string suffix = "")

Parameters

nametypedefaultdescription
characterCharacter Definition—
textColorText—
fontText—
prefixText—
suffixText—

Returns

CharacterCharacter Definition
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Characters
Package
Novella Visual Novels