條件
20 個節點
本頁內容 20
全部滿足
函數Every one of the conditions holds.
全部滿足 -> Condition
第一個: Condition
第二個: Condition
第三個: Condition
第四個: ConditionCondition AllOf(
Condition first,
Condition second,
Condition third,
Condition fourth)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 第一個 | Condition | — | |
| 第二個 | Condition | — | |
| 第三個 | Condition | — | |
| 第四個 | Condition | — |
返回
| 條件 | Condition |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 條件
- 所屬包
- Novella 視覺小說
始終
函數A condition that always holds.
始終() -> Condition
Condition Always()
返回
| 條件 | Condition |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 條件
- 所屬包
- Novella 視覺小說
任一滿足
函數At least one of the conditions holds.
任一滿足 -> Condition
第一個: Condition
第二個: Condition
第三個: Condition
第四個: ConditionCondition AnyOf(
Condition first,
Condition second,
Condition third,
Condition fourth)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 第一個 | Condition | — | |
| 第二個 | Condition | — | |
| 第三個 | Condition | — | |
| 第四個 | Condition | — |
返回
| 條件 | Condition |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 條件
- 所屬包
- Novella 視覺小說
按概率
函數Holds by chance, with a probability from 0 to 1, drawn so that rolling back draws the same.
按概率(概率: 數字) -> Condition
Condition ByChance(double probability)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 概率 | 數字 | — |
返回
| 條件 | Condition |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 條件
- 所屬包
- Novella 視覺小說
比較變數
函數A variable compared with a value.
比較變數(變數: 文字, 比較方式: 文字, 值: 文字) -> Condition
Condition CompareVariable(
string variable,
string comparison = "==",
string value = "")參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 變數 | 文字 | — | The variable, such as gift or persistent.endings_seen. |
| 比較方式 | 文字 | == | One of ==, !=, <, <=, >, >=. |
| 值 | 文字 | — | The value as typed: a number, true, false, or text. |
返回
| 條件 | Condition |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 條件
- 所屬包
- Novella 視覺小說
比較兩個變數
函數Two variables compared: trust greater than doubt.
比較兩個變數 -> Condition
第一個: 文字
比較方式: 文字
第二個: 文字Condition CompareVariables(
string first,
string comparison,
string second)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 第一個 | 文字 | — | The first variable. |
| 比較方式 | 文字 | — | One of ==, !=, <, <=, >, >=. |
| 第二個 | 文字 | — | The second variable. |
返回
| 條件 | Condition |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 條件
- 所屬包
- Novella 視覺小說
由函數生成條件
函數A condition a function decides: a Function graph that takes Story Variables and answers true or false, for tests the other nodes cannot put together.
由函數生成條件 -> Condition
判斷函數: Func<Story Variables, 真否>
描述: 文字Condition ConditionFromFunction(
Func<StoryVariables, bool> test,
string description = "a condition from a function")參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 判斷函數 | Func<Story Variables, 真否> | — | The function. |
| 描述 | 文字 | a condition from a function | What it tests, in words, for messages and the written-out script. |
返回
| 條件 | Condition |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 條件
- 所屬包
- Novella 視覺小說
由指令碼生成條件
函數A condition written as script, for anything the other nodes do not say: affection >= 3 and gift == "fan".
由指令碼生成條件(表示式: 文字) -> Condition
Condition ConditionFromScript(string expression)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 表示式 | 文字 | — |
返回
| 條件 | Condition |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 條件
- 所屬包
- Novella 視覺小說
曾經到達
函數A label has been reached in any playthrough, as an ending once seen.
曾經到達(標籤: 文字) -> Condition
Condition EverReached(string label)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 標籤 | 文字 | — |
返回
| 條件 | Condition |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 條件
- 所屬包
- Novella 視覺小說
已獲得成就
函數An achievement has been earned.
已獲得成就(成就: 文字) -> Condition
Condition HasAchievement(string achievement)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 成就 | 文字 | — |
返回
| 條件 | Condition |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 條件
- 所屬包
- Novella 視覺小說
已聽過
函數A piece of audio has been heard in any playthrough.
已聽過(檔案: 文字) -> Condition
Condition HasHeard(string file)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 檔案 | 文字 | — |
返回
| 條件 | Condition |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 條件
- 所屬包
- Novella 視覺小說
已看過影像
函數An image has been seen in any playthrough.
已看過影像(影像: 文字) -> Condition
Condition HasSeenImage(string image)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 影像 | 文字 | — |
返回
| 條件 | Condition |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 條件
- 所屬包
- Novella 視覺小說
已存取
函數A label (or scene) has been reached in this playthrough.
已存取(標籤: 文字) -> Condition
Condition HasVisited(string label)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 標籤 | 文字 | — |
返回
| 條件 | Condition |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 條件
- 所屬包
- Novella 視覺小說
目前語言為
函數The player reads the game in a language, such as zh-Hans.
目前語言為(語言: 文字) -> Condition
Condition InLanguage(string language)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 語言 | 文字 | — |
返回
| 條件 | Condition |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 條件
- 所屬包
- Novella 視覺小說
正在顯示
函數An image with a tag is on the stage now.
正在顯示(標籤: 文字) -> Condition
Condition IsShowing(string tag)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 標籤 | 文字 | — |
返回
| 條件 | Condition |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 條件
- 所屬包
- Novella 視覺小說
列表包含
函數A list variable holds a value, such as a gift among those given.
列表包含(變數: 文字, 值: 文字) -> Condition
Condition ListContains(string variable, string value)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 變數 | 文字 | — | |
| 值 | 文字 | — |
返回
| 條件 | Condition |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 條件
- 所屬包
- Novella 視覺小說
非
函數The condition does not hold.
非(條件: Condition) -> Condition
Condition Not(Condition condition)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 條件 | Condition | — |
返回
| 條件 | Condition |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 條件
- 所屬包
- Novella 視覺小說
變數至少為
函數A number variable is at least a value: affection at least 3.
變數至少為(變數: 文字, 值: 數字) -> Condition
Condition VariableAtLeast(string variable, double value)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 變數 | 文字 | — | |
| 值 | 數字 | — |
返回
| 條件 | Condition |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 條件
- 所屬包
- Novella 視覺小說
變數已設定
函數A variable holds: true, non-zero, non-empty.
變數已設定(變數: 文字) -> Condition
Condition VariableIsSet(string variable)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 變數 | 文字 | — |
返回
| 條件 | Condition |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 條件
- 所屬包
- Novella 視覺小說
存取次數至少為
函數A label has been reached at least a number of times in this playthrough: the third visit to the market.
存取次數至少為(標籤: 文字, 次數: 整數) -> Condition
Condition VisitedAtLeast(string label, int times)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 標籤 | 文字 | — | |
| 次數 | 整數 | — |
返回
| 條件 | Condition |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 條件
- 所屬包
- Novella 視覺小說