Characters
4 nodes
On this page 4
Character Part Style
FunctionA 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: TextCharacterDefinition CharacterPartStyle(
CharacterDefinition character,
string part,
string style)Parameters
| name | type | default | description |
|---|---|---|---|
| character | Character Definition | — | The character. |
| part | Text | — | window, namebox, who (the name) or what (the line). |
| style | Text | — | The style that part draws with. |
Returns
| Character | Character Definition |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Characters
- Package
- Novella Visual Novels
Make Character
FunctionMakes a character.
Signature
MakeCharacter -> Character Definition
ID: Text
name: Text
color: Text
image: Text
sideImage: Truth
nvl: TruthCharacterDefinition MakeCharacter(
string id,
string name,
string color = "",
string image = "",
bool sideImage = false,
bool nvl = false)Parameters
| name | type | default | description |
|---|---|---|---|
| ID | Text | — | The name the story uses, such as qinglan. |
| name | Text | — | The name shown when they speak; may use [variable]. |
| color | Text | — | The name's colour, such as #c0392b. |
| image | Text | — | The character's image tag, so lines can change the expression; empty for none. |
| sideImage | Truth | False | Whether to show the character's image beside their lines. |
| nvl | Truth | False | Whether the character speaks on the full-screen NVL page. |
Returns
| Character | Character 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
FunctionA 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: TextCharacterDefinition SetCharacterStyleProperty(
CharacterDefinition character,
string part,
string property,
string value)Parameters
| name | type | default | description |
|---|---|---|---|
| character | Character Definition | — | The character. |
| part | Text | — | window, namebox, who (the name) or what (the line). |
| property | Text | — | The property, as a script names it. |
| value | Text | — | Its value, as a script writes it. |
Returns
| Character | Character Definition |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Characters
- Package
- Novella Visual Novels
Style Character
FunctionA character with a different text colour, font or quotation marks.
Signature
StyleCharacter -> Character Definition
character: Character Definition
textColor: Text
font: Text
prefix: Text
suffix: TextCharacterDefinition StyleCharacter(
CharacterDefinition character,
string textColor = "",
string font = "",
string prefix = "",
string suffix = "")Parameters
| name | type | default | description |
|---|---|---|---|
| character | Character Definition | — | |
| textColor | Text | — | |
| font | Text | — | |
| prefix | Text | — | |
| suffix | Text | — |
Returns
| Character | Character Definition |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Characters
- Package
- Novella Visual Novels