条件
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 视觉小说