B1ContextTrigger
What a Context does at a Step for one role. Type picks the action and its Id field; the field of another Type must stay empty.
Script Self and the interaction's doer are always the owner; the role array the trigger is in decides the target (no target when that role is the owner's own).
| Property | Type | Description | Metadata |
|---|---|---|---|
| Type | EB1ContextTriggerType | What this trigger does. Shows the Id field of that action. | Category: B1ContextTrigger |
| ScriptId | FName | Script to run. Each trigger position keeps its own run record, so the same Script may be reused across Steps and role arrays. | Category: B1ContextTrigger Foreign: Script.Id |
| InteractionBagId | FName | * Interaction the owner starts. The target is the character of the role array the trigger is in; in the owner's own role array the owner does it alone. * It runs only in a Context made from an incident the owner witnessed directly; in a Context made without an incident the trigger does nothing. * The interaction goes through the usual checks and is tried once. A refused interaction is logged and not retried. | Category: B1ContextTrigger Foreign: InteractionBag.Id |
| Timing | EB1ContextTriggerTiming | When this trigger runs within its Step. | Category: B1ContextTrigger |
| IntervalMinutes | int32 | Game minutes between runs of a During trigger, counted only while the Context runs (Main, or sharing an incident with the Main). 1 or more. | Category: B1ContextTrigger ClampMin: 1 |