场景
7 个节点
本页内容 7
添加场景
函数A story with a scene added, as a label of the scene's name.
签名
添加场景(故事: Story, 场景: Scene) -> Story
Story AddScene(Story story, SceneDefinition scene)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 故事 | Story | — | |
| 场景 | Scene | — |
返回
| 故事 | Story |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 场景
- 所属包
- Novella 视觉小说
分支到场景
函数The story goes to one scene or another depending on a condition.
签名
分支到场景 -> Scene Ending
条件: Condition
则: 文本
否则: 文本SceneEnding BranchToScene(
Condition condition,
string then,
string otherwise)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 条件 | Condition | — | |
| 则 | 文本 | — | |
| 否则 | 文本 | — |
返回
| 结局 | Scene Ending |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 场景
- 所属包
- Novella 视觉小说
选择场景
函数The player chooses which scene comes next.
签名
选择场景 -> Scene Ending
标题: 文本
第一个: Scene Choice
第二个: Scene Choice
第三个: Scene Choice
第四个: Scene ChoiceSceneEnding ChooseScene(
string caption,
SceneChoice first,
SceneChoice second,
SceneChoice third,
SceneChoice fourth)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 标题 | 文本 | — | A line shown with the choices; may be empty. |
| 第一个 | Scene Choice | — | The first choice. |
| 第二个 | Scene Choice | — | The second choice. |
| 第三个 | Scene Choice | — | A third choice, if any. |
| 第四个 | Scene Choice | — | A fourth choice, if any. |
返回
| 结局 | Scene Ending |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 场景
- 所属包
- Novella 视觉小说
结束游戏
函数The game ends.
签名
结束游戏() -> Scene Ending
SceneEnding EndGame()
返回
| 结局 | Scene Ending |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 场景
- 所属包
- Novella 视觉小说
前往场景
函数The story goes on to another scene.
签名
前往场景(场景: 文本) -> Scene Ending
SceneEnding GoToScene(string scene)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 场景 | 文本 | — | The scene. |
返回
| 结局 | Scene Ending |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 场景
- 所属包
- Novella 视觉小说
创建场景
函数A scene.
签名
创建场景 -> Scene
名称: 文本
行: Sequence
结局: Scene Ending
背景: 文本
转场: 文本
音乐: 文本SceneDefinition MakeScene(
string name,
Sequence lines,
SceneEnding ending,
string background = "",
string transition = "fade",
string music = "")参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 名称 | 文本 | — | Its name, which other scenes go to; start for the first. |
| 行 | Sequence | — | What happens in it: a sequence of Say, Show and the other Story Writing nodes. |
| 结局 | Scene Ending | — | Where the story goes after it: Go To Scene, Choose Scene, Branch To Scene or End Game. Left empty, the game ends. |
| 背景 | 文本 | — | Its background, such as bg plum_garden; empty keeps the stage. |
| 转场 | 文本 | fade | How the background comes in, such as fade or dissolve. |
| 音乐 | 文本 | — | Music for the scene; empty keeps what plays. |
返回
| 场景 | Scene |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 场景
- 所属包
- Novella 视觉小说
场景选项
函数A choice that leads to a scene.
签名
场景选项 -> Scene Choice
文本: 文本
场景: 文本
条件: Condition
效果: EffectSceneChoice MakeSceneChoice(
string text,
string scene,
Condition when,
Effect effect)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 文本 | 文本 | — | What the button says. |
| 场景 | 文本 | — | The scene it leads to. |
| 条件 | Condition | — | Offered only when this holds; empty always offers it. |
| 效果 | Effect | — | What taking it changes, such as Add To Variable; may be empty. |
返回
| 选项 | Scene Choice |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 场景
- 所属包
- Novella 视觉小说