B1TalkStateRuleTableRow
A talk state rule row from TalkStateRule.json. When all States are active and no ExceptStates is active, every action of the row applies. A row with Prefer set is a preference row (see the file comment).
| Property | Type | Description | Metadata |
|---|---|---|---|
| States | TArray | The rule applies only when all of these states are active. Use Always for a rule that always applies. | Category: B1TalkStateRuleTableRow |
| ExceptStates | TArray | The rule is skipped when any of these states is active. | Category: B1TalkStateRuleTableRow |
| Recommend | FB1TalkStateRuleTarget | Raise matching talks by one step. | Category: B1TalkStateRuleTableRow |
| Lower | FB1TalkStateRuleTarget | Lower matching talks by one step. Lowering cancels raising first and then reduces the weight inside the same tier. | Category: B1TalkStateRuleTableRow |
| NoRecommend | FB1TalkStateRuleTarget | Cancel every raise of matching talks. They stay in the candidates. | Category: B1TalkStateRuleTableRow |
| Exclude | FB1TalkStateRuleTarget | Remove matching talks from the candidates. Nothing brings them back. | Category: B1TalkStateRuleTableRow |
| AllowOnly | FB1TalkStateRuleTarget | Keep only matching talks. When nothing is left, the speaker does not talk to this listener this time. | Category: B1TalkStateRuleTableRow |
| MaxDepth | EB1TalkDepthCap | Depth cap while this rule is active. | Category: B1TalkStateRuleTableRow |
| ExcludeGroup | EB1TalkGroupExclude | Talk group removed at step 2 of the legacy group path. Evaluated before the group is chosen, so the rule cannot use group dependent states. The default path has no group and ignores it. | Category: B1TalkStateRuleTableRow |
| Prefer | FB1TalkStateRuleTarget | Preference pool. A row with this set is a preference row: when its states and owners match and some of these talks are left after every other rule, it may be picked (evenly among such rows) and then wins with Probability. The speaker then picks only from these talks. | Category: B1TalkStateRuleTableRow |
| PreferExcept | FB1TalkStateRuleTarget | Talks that are never preferred even when Prefer matches them, such as greetings inside a preferred topic. Only for preference rows. | Category: B1TalkStateRuleTableRow |
| Owners | TArray | Owner conditions of a preference row. All must match. Empty means everyone. | Category: B1TalkStateRuleTableRow |
| Probability | float | Chance in (0, 1] that the picked preference row wins. Only for preference rows. | Category: B1TalkStateRuleTableRow |
| OverrideRules | TArray | Rules whose Exclude and AllowOnly do not apply to this row's preferred talks once the row wins. Every other pick still follows them. Only for preference rows. | Category: B1TalkStateRuleTableRow Foreign: TalkStateRule.Id |
| Id | FName | Unique Id | Category: B1TableRowBase |
| Comment | FString | Dev Comment | Category: B1TableRowBase |