元編程參考文件

故事編寫

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
    否則: Sequence
Sequence 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.
最大長度整數24The 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 視覺小說

播放影片

函數

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.
秒數數字0How 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.
淡入數字1Seconds 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.
淡入數字0Seconds to fade in.
淡出數字-1Seconds to fade out what played; below 0 takes the channel's.
迴圈文字—loop, once, or empty for the channel's habit.
音量數字1Relative volume, 0 to 1.
僅在更改時真否FalseDo 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
    影像: 文字
    轉場: 文字
    圖層: 文字
    位置: 文字
    動畫: Animation
Sequence 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
    影像: 文字
    位置: 文字
    轉場: 文字
    在後方: 文字
    層疊順序: 整數
    顯示為: 文字
    圖層: 文字
    動畫: Animation
Sequence 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.
層疊順序整數0Its 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 視覺小說