故事编写
59 个节点
本页内容 59
获得成就
函数Grants an achievement.
获得成就(序列: Sequence, 成就: 文本) -> Sequence
Sequence Achieve(Sequence sequence, string achievement)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | |
| 成就 | 文本 | — |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
添加选项
函数The choices with one more after them.
添加选项(选项: Choices, 选项: Choice) -> Choices
Choices AddChoice(Choices choices, ChoiceOption choice)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 选项 | Choices | — | |
| 选项 | Choice | — |
返回
| 选项 | Choices |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
应用效果
函数Changes the story's variables at this point: an effect from the Effects nodes, such as Add To Variable.
应用效果(序列: Sequence, 效果: Effect) -> Sequence
Sequence ApplyEffect(Sequence sequence, Effect effect)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | The sequence so far. |
| 效果 | Effect | — | The change. |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
调用
函数Runs another label and comes back.
调用(序列: Sequence, 标签: 文本) -> Sequence
Sequence Call(Sequence sequence, string label)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | |
| 标签 | 文本 | — |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
调用画面
函数Shows a screen and waits for the player to answer it; the answer is in _return afterwards.
调用画面 -> Sequence
序列: Sequence
屏幕: 文本
转场: 文本
参数: 文本Sequence CallScreen(
Sequence sequence,
string screen,
string with = "",
string argument = "")参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | The sequence so far. |
| 屏幕 | 文本 | — | The screen's name. |
| 转场 | 文本 | — | A transition. |
| 参数 | 文本 | — | A value for the screen's first parameter, as typed; empty for none. |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
调用变量指定的标签
函数Runs the label a variable names, then comes back.
调用变量指定的标签(序列: Sequence, 变量: 文本) -> Sequence
Sequence CallVariable(Sequence sequence, string variable)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | |
| 变量 | 文本 | — |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
带参数调用
函数Runs another label with arguments for its parameters, each as typed: a number, true, text.
带参数调用 -> Sequence
序列: Sequence
标签: 文本
第一个: 文本
第二个: 文本
第三个: 文本Sequence CallWithArguments(
Sequence sequence,
string label,
string first = "",
string second = "",
string third = "")参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | |
| 标签 | 文本 | — | |
| 第一个 | 文本 | — | |
| 第二个 | 文本 | — | |
| 第三个 | 文本 | — |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
居中文字
函数Text in the middle of the screen with no window, as for a chapter title.
居中文字(序列: Sequence, 文本: 文本) -> Sequence
Sequence Centered(Sequence sequence, string text)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | |
| 文本 | 文本 | — |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
拼接
函数One sequence followed by another.
拼接(第一个: Sequence, 第二个: Sequence) -> Sequence
Sequence Concatenate(Sequence first, Sequence second)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 第一个 | Sequence | — | |
| 第二个 | Sequence | — |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
续写
函数Continues the line before, as when a thought is finished after a pause.
续写(序列: Sequence, 文本: 文本) -> Sequence
Sequence Extend(Sequence sequence, string text)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | |
| 文本 | 文本 | — |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
强制暂停
函数Waits for some seconds and cannot be clicked through.
强制暂停(序列: Sequence, 秒数: 数字) -> Sequence
Sequence HardPause(Sequence sequence, double seconds)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | |
| 秒数 | 数字 | — |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
隐藏
函数Hides an image.
隐藏(序列: Sequence, 标签: 文本, 转场: 文本) -> Sequence
Sequence Hide(Sequence sequence, string tag, string with = "")
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | |
| 标签 | 文本 | — | |
| 转场 | 文本 | — |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
隐藏画面
函数Hides a shown screen.
隐藏画面(序列: Sequence, 屏幕: 文本, 转场: 文本) -> Sequence
Sequence HideScreen(
Sequence sequence,
string screen,
string with = "")参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | |
| 屏幕 | 文本 | — | |
| 转场 | 文本 | — |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
带选项隐藏
函数Hides an image on a layer.
带选项隐藏 -> Sequence
序列: Sequence
标签: 文本
转场: 文本
图层: 文本Sequence HideWithOptions(
Sequence sequence,
string tag,
string with = "",
string layer = "")参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | |
| 标签 | 文本 | — | |
| 转场 | 文本 | — | |
| 图层 | 文本 | — |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
如果
函数Runs one sequence or another depending on a condition.
如果 -> Sequence
序列: Sequence
条件: Condition
则: Sequence
否则: SequenceSequence If(
Sequence sequence,
Condition condition,
Sequence then,
Sequence otherwise)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | The sequence so far. |
| 条件 | Condition | — | A condition from the Conditions nodes, such as Variable At Least. |
| 则 | Sequence | — | What happens when it holds. |
| 否则 | Sequence | — | What happens when it does not; may be left empty. |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
输入
函数Asks the player to type into a variable.
输入 -> Sequence
序列: Sequence
变量: 文本
提示词: 文本
默认文本: 文本Sequence Input(
Sequence sequence,
string variable,
string prompt,
string defaultText = "")参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | |
| 变量 | 文本 | — | |
| 提示词 | 文本 | — | |
| 默认文本 | 文本 | — |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
带选项输入
函数Asks the player to type into a variable, with a length and the characters allowed.
带选项输入 -> Sequence
序列: Sequence
变量: 文本
提示词: 文本
默认文本: 文本
最大长度: 整数
允许的字符: 文本Sequence InputWithOptions(
Sequence sequence,
string variable,
string prompt,
string defaultText = "",
int maximumLength = 24,
string allowed = "")参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | The sequence so far. |
| 变量 | 文本 | — | The variable the answer goes into. |
| 提示词 | 文本 | — | The question. |
| 默认文本 | 文本 | — | What the field holds to begin with. |
| 最大长度 | 整数 | 24 | The longest answer accepted. |
| 允许的字符 | 文本 | — | The characters that may be typed; empty for any. |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
跳转
函数Continues at another label.
跳转(序列: Sequence, 标签: 文本) -> Sequence
Sequence Jump(Sequence sequence, string label)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | |
| 标签 | 文本 | — |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
由函数跳转
函数Continues at the label a function of the story's variables names: a Function graph taking Story Variables and answering text.
由函数跳转 -> Sequence
序列: Sequence
标签: Func<Story Variables, 文本>Sequence JumpFromFunction(
Sequence sequence,
Func<StoryVariables, string> label)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | The sequence so far. |
| 标签 | Func<Story Variables, 文本> | — | The function that names the label. |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
跳转到变量指定的标签
函数Continues at the label a variable names.
跳转到变量指定的标签(序列: Sequence, 变量: 文本) -> Sequence
Sequence JumpToVariable(Sequence sequence, string variable)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | |
| 变量 | 文本 | — |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
菜单
函数Offers choices. Each choice carries the sequence that follows it.
菜单 -> Sequence
序列: Sequence
标题: 文本
第一个: Choice
第二个: Choice
第三个: Choice
第四个: ChoiceSequence Menu(
Sequence sequence,
string caption,
ChoiceOption first,
ChoiceOption second,
ChoiceOption third,
ChoiceOption fourth)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | The sequence so far. |
| 标题 | 文本 | — | A line shown with the choices; empty shows none. |
| 第一个 | Choice | — | The first choice. |
| 第二个 | Choice | — | The second choice. |
| 第三个 | Choice | — | A third choice, if any. |
| 第四个 | Choice | — | A fourth choice, if any. |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
由选项生成菜单
函数Offers as many choices as Add Choice collected, with a line above them.
由选项生成菜单 -> Sequence
序列: Sequence
标题: 文本
选项: Choices
名称: 文本
只出现一次: 文本Sequence MenuFromChoices(
Sequence sequence,
string caption,
Choices choices,
string name = "",
string once = "")参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | The sequence so far. |
| 标题 | 文本 | — | A line shown with the choices; empty shows none. |
| 选项 | Choices | — | The choices, from Start Choices and Add Choice. |
| 名称 | 文本 | — | A name for the menu, so a jump can come back to it; empty for none. |
| 只出现一次 | 文本 | — | A list variable that remembers choices taken and hides them, for "ask about each topic once"; empty for none. |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
播放影片
函数Plays a full-screen movie.
播放影片(序列: Sequence, 文件: 文本, 可跳过: 真否) -> Sequence
Sequence Movie(
Sequence sequence,
string file,
bool skippable = true)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | |
| 文件 | 文本 | — | |
| 可跳过 | 真否 | True |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
带选项播放影片
函数A full-screen movie, which may keep the music playing under it.
带选项播放影片 -> Sequence
序列: Sequence
文件: 文本
可跳过: 真否
保留音乐: 真否Sequence MovieWithOptions(
Sequence sequence,
string file,
bool skippable = true,
bool keepMusic = false)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | |
| 文件 | 文本 | — | |
| 可跳过 | 真否 | True | |
| 保留音乐 | 真否 | False |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
旁白
函数Narration: a line with no speaker.
旁白(序列: Sequence, 文本: 文本) -> Sequence
Sequence Narrate(Sequence sequence, string text)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | |
| 文本 | 文本 | — |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
通知
函数Shows a notification.
通知(序列: Sequence, 文本: 文本) -> Sequence
Sequence Notify(Sequence sequence, string text)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | |
| 文本 | 文本 | — |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
清空 NVL
函数Clears the full-screen NVL page.
清空 NVL(序列: Sequence) -> Sequence
Sequence NvlClear(Sequence sequence)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
暂停
函数Waits for a click, or for some seconds.
暂停(序列: Sequence, 秒数: 数字) -> Sequence
Sequence Pause(Sequence sequence, double seconds = 0)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | The sequence so far. |
| 秒数 | 数字 | 0 | How long; 0 waits for a click. |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
播放
函数Plays a file on any channel: music, sound, voice, ambience, or one the story defines.
播放 -> Sequence
序列: Sequence
声道: 文本
文件: 文本
淡入: 数字Sequence Play(
Sequence sequence,
string channel,
string file,
double fadeIn = 0)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | |
| 声道 | 文本 | — | |
| 文件 | 文本 | — | |
| 淡入 | 数字 | 0 |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
播放音乐
函数Plays music, which loops until stopped or replaced.
播放音乐(序列: Sequence, 文件: 文本, 淡入: 数字) -> Sequence
Sequence PlayMusic(
Sequence sequence,
string file,
double fadeIn = 1)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | The sequence so far. |
| 文件 | 文本 | — | The music file among the game's files. |
| 淡入 | 数字 | 1 | Seconds to fade in. |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
播放音效
函数Plays a sound once.
播放音效(序列: Sequence, 文件: 文本) -> Sequence
Sequence PlaySound(Sequence sequence, string file)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | |
| 文件 | 文本 | — |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
带选项播放
函数Plays files on a channel with every option a script's play has.
带选项播放 -> Sequence
序列: Sequence
声道: 文本
文件: 文本
淡入: 数字
淡出: 数字
循环: 文本
音量: 数字
仅在更改时: 真否Sequence PlayWithOptions(
Sequence sequence,
string channel,
string files,
double fadeIn = 0,
double fadeOut = -1,
string loop = "",
double volume = 1,
bool ifChanged = false)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | The sequence so far. |
| 声道 | 文本 | — | The channel: music, sound, voice, ambience, or one the story defines. |
| 文件 | 文本 | — | Files or audio names, separated by commas, played in order. |
| 淡入 | 数字 | 0 | Seconds to fade in. |
| 淡出 | 数字 | -1 | Seconds to fade out what played; below 0 takes the channel's. |
| 循环 | 文本 | — | loop, once, or empty for the channel's habit. |
| 音量 | 数字 | 1 | Relative volume, 0 to 1. |
| 仅在更改时 | 真否 | False | Do nothing if the same files already play. |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
Python 代码块
函数Python 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.
Python 代码块(序列: Sequence, 代码: 文本) -> Sequence
Sequence PythonBlock(Sequence sequence, string code)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | The sequence so far. |
| 代码 | 文本 | — | The Python, as many lines as it needs. |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
加入队列
函数Adds files to a channel's queue, to play when what plays now ends.
加入队列 -> Sequence
序列: Sequence
声道: 文本
文件: 文本
循环: 文本
音量: 数字Sequence Queue(
Sequence sequence,
string channel,
string files,
string loop = "",
double volume = 1)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | |
| 声道 | 文本 | — | |
| 文件 | 文本 | — | |
| 循环 | 文本 | — | |
| 音量 | 数字 | 1 |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
返回
函数Returns from a called label, or ends the game.
返回(序列: Sequence) -> Sequence
Sequence Return(Sequence sequence)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
返回值
函数Returns from a called label with a value, as typed, which the caller reads as _return.
返回值(序列: Sequence, 值: 文本) -> Sequence
Sequence ReturnValue(Sequence sequence, string value)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | |
| 值 | 文本 | — |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
返回变量
函数Returns from a called label with a variable's value.
返回变量(序列: Sequence, 变量: 文本) -> Sequence
Sequence ReturnVariable(Sequence sequence, string variable)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | |
| 变量 | 文本 | — |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
运行命令
函数Runs a command the game implements; its result is in _return afterwards.
运行命令(序列: Sequence, 命令: 文本, 参数: 文本) -> Sequence
Sequence RunCommand(
Sequence sequence,
string command,
string arguments = "")参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | The sequence so far. |
| 命令 | 文本 | — | The command's name. |
| 参数 | 文本 | — | Arguments as expressions, separated by commas: "lantern", 3. |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
带值运行命令
函数Runs a command the game implements with arguments, each as typed; its result is in _return afterwards.
带值运行命令 -> Sequence
序列: Sequence
命令: 文本
第一个: 文本
第二个: 文本
第三个: 文本Sequence RunCommandWithValues(
Sequence sequence,
string command,
string first = "",
string second = "",
string third = "")参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | |
| 命令 | 文本 | — | |
| 第一个 | 文本 | — | |
| 第二个 | 文本 | — | |
| 第三个 | 文本 | — |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
说话
函数A line of dialogue.
说话 -> Sequence
序列: Sequence
字符: 文本
文本: 文本
属性: 文本Sequence Say(
Sequence sequence,
string character,
string text,
string attributes = "")参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | The sequence so far. |
| 字符 | 文本 | — | The speaking character's id; empty for narration. |
| 文本 | 文本 | — | The line. Text tags ({b}, {w}...) and [variable] work. |
| 属性 | 文本 | — | Image attributes to show on the speaker, such as smile. |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
以某身份说话
函数A line from someone who is not a defined character, such as a shopkeeper.
以某身份说话 -> Sequence
序列: Sequence
说话人: 文本
文本: 文本Sequence SayAs(Sequence sequence, string speaker, string text)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | |
| 说话人 | 文本 | — | |
| 文本 | 文本 | — |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
简短说话
函数A line whose expression change lasts only while it is up.
简短说话 -> Sequence
序列: Sequence
字符: 文本
文本: 文本
属性: 文本Sequence SayBriefly(
Sequence sequence,
string character,
string text,
string attributes)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | |
| 字符 | 文本 | — | |
| 文本 | 文本 | — | |
| 属性 | 文本 | — |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
说一句
函数A line with everything a script line can carry: an expression change for the line or after it, a transition, an id for translations.
说一句 -> Sequence
序列: Sequence
字符: 文本
文本: 文本
属性: 文本
简短地: 文本
转场: 文本
ID: 文本Sequence SayLine(
Sequence sequence,
string character,
string text,
string attributes = "",
string briefly = "",
string with = "",
string id = "")参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | The sequence so far. |
| 字符 | 文本 | — | The speaking character's id; empty for narration. |
| 文本 | 文本 | — | The line. |
| 属性 | 文本 | — | Image attributes shown on the speaker from this line on, such as smile. |
| 简短地 | 文本 | — | Image attributes shown only while this line is up, such as shy. |
| 转场 | 文本 | — | A transition as the line appears; empty for none. |
| ID | 文本 | — | An id of the author's choosing, which translations can name; empty for one made from the text. |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
场景
函数Clears the stage and shows a background.
场景(序列: Sequence, 图像: 文本, 转场: 文本) -> Sequence
Sequence Scene(
Sequence sequence,
string image = "",
string with = "")参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | The sequence so far. |
| 图像 | 文本 | — | The background, such as bg garden; empty clears to black. |
| 转场 | 文本 | — | A transition, such as fade. |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
带选项的场景
函数Clears the stage (or a layer) and shows a background, which may be placed or animated, such as a slow pan.
带选项的场景 -> Sequence
序列: Sequence
图像: 文本
转场: 文本
图层: 文本
位置: 文本
动画: AnimationSequence SceneWithOptions(
Sequence sequence,
string image = "",
string with = "",
string layer = "",
string at = "",
Animation animation)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | The sequence so far. |
| 图像 | 文本 | — | The background; empty clears to black. |
| 转场 | 文本 | — | A transition. |
| 图层 | 文本 | — | The layer to clear, when not the master one. |
| 位置 | 文本 | — | Transforms for the background, separated by commas. |
| 动画 | Animation | — | An animation for the background. |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
脚本
函数Adds statements written as script, for anything the other nodes do not cover.
脚本(序列: Sequence, 脚本: 文本) -> Sequence
Sequence Script(Sequence sequence, string script)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | The sequence so far. |
| 脚本 | 文本 | — | Statements in Novella script, one per line. |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
序列转为脚本
函数A sequence written as script, to read what a chain of nodes makes.
序列转为脚本(序列: Sequence) -> 文本
string SequenceToScript(Sequence sequence)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — |
返回
| 脚本 | 文本 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
显示
函数Shows an image, or changes one showing.
显示 -> Sequence
序列: Sequence
图像: 文本
位置: 文本
转场: 文本Sequence Show(
Sequence sequence,
string image,
string at = "",
string with = "")参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | The sequence so far. |
| 图像 | 文本 | — | The image's name: a tag and attributes, such as qinglan smile. |
| 位置 | 文本 | — | Where: left, center, right, or a transform the story defines; empty keeps the position. |
| 转场 | 文本 | — | A transition: dissolve, fade, moveinright...; empty is instant. |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
显示画面
函数Shows a screen over the game and carries on: a status bar, a map button.
显示画面 -> Sequence
序列: Sequence
屏幕: 文本
转场: 文本
参数: 文本Sequence ShowScreen(
Sequence sequence,
string screen,
string with = "",
string argument = "")参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | The sequence so far. |
| 屏幕 | 文本 | — | The screen's name. |
| 转场 | 文本 | — | A transition. |
| 参数 | 文本 | — | A value for the screen's first parameter, as typed; empty for none. |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
带选项显示
函数Shows 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.
带选项显示 -> Sequence
序列: Sequence
图像: 文本
位置: 文本
转场: 文本
在后方: 文本
层叠顺序: 整数
显示为: 文本
图层: 文本
动画: AnimationSequence ShowWithOptions(
Sequence sequence,
string image,
string at = "",
string with = "",
string behind = "",
int zorder = 0,
string showAs = "",
string layer = "",
Animation animation)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | The sequence so far. |
| 图像 | 文本 | — | A tag and attributes, such as qinglan smile. |
| 位置 | 文本 | — | Transforms, separated by commas; one taking arguments is written as a call, such as bob(30). |
| 转场 | 文本 | — | A transition. |
| 在后方 | 文本 | — | Tags to show it behind, separated by commas. |
| 层叠顺序 | 整数 | 0 | Its place in the stack: higher is nearer; 0 is the default. |
| 显示为 | 文本 | — | Another tag to show it under, so one image can show twice. |
| 图层 | 文本 | — | A layer other than the master one. |
| 动画 | Animation | — | An animation of its own, from the Animation nodes. |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
开始选项
函数No choices yet, to add to with Add Choice.
开始选项() -> Choices
Choices StartChoices()
返回
| 选项 | Choices |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
开始序列
函数An empty sequence to build on.
开始序列() -> Sequence
Sequence StartSequence()
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
停止
函数Stops a channel.
停止(序列: Sequence, 声道: 文本, 淡出: 数字) -> Sequence
Sequence Stop(
Sequence sequence,
string channel = "music",
double fadeOut = 1)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | |
| 声道 | 文本 | music | |
| 淡出 | 数字 | 1 |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
语音
函数Sets the voice file for the next line.
语音(序列: Sequence, 文件: 文本) -> Sequence
Sequence Voice(Sequence sequence, string file)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | |
| 文件 | 文本 | — |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
持续语音
函数Keeps the voice playing on through the next line.
持续语音(序列: Sequence) -> Sequence
Sequence VoiceSustain(Sequence sequence)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
当
函数Repeats a sequence while a condition holds.
当(序列: Sequence, 条件: Condition, 正文: Sequence) -> Sequence
Sequence While(
Sequence sequence,
Condition condition,
Sequence body)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | |
| 条件 | Condition | — | |
| 正文 | Sequence | — |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
对话框
函数Shows or hides the dialogue window: show, hide or auto.
对话框(序列: Sequence, 方式: 文本) -> Sequence
Sequence Window(Sequence sequence, string mode = "auto")
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | |
| 方式 | 文本 | auto |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
带转场的对话框
函数Shows or hides the dialogue window with a transition: show, hide or auto.
带转场的对话框 -> Sequence
序列: Sequence
方式: 文本
转场: 文本Sequence WindowWithTransition(
Sequence sequence,
string mode,
string with)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | |
| 方式 | 文本 | — | |
| 转场 | 文本 | — |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说
使用转场
函数Runs a transition over what changed since the last line.
使用转场(序列: Sequence, 转场: 文本) -> Sequence
Sequence With(Sequence sequence, string transition)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 序列 | Sequence | — | |
| 转场 | 文本 | — |
返回
| 序列 | Sequence |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 故事编写
- 所属包
- Novella 视觉小说