場景
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 視覺小說