Condition_InteractionBagTag
Description
Checks whether the tag specified in S1 is included in the tag set of the interaction bag currently active on the BaseObject.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The object whose current interaction bag will be checked (Self or Target). |
| CompareType | The comparison operator (Equal, NotEqual). |
| S1 | The InteractionBagTag to compare against the BaseObject's current interaction bag tags. |
Examples
| Description | BaseObject | Command | CompareType | S1 |
|---|---|---|---|---|
| Check if Self's current interaction bag contains the tag Idle | Self | InteractionBagTag | Equal | Idle |
| Check if Self's current interaction bag does NOT contain Positive_Talk | Self | InteractionBagTag | NotEqual | Positive_Talk |
| Check if Target's current interaction bag contains the tag Idle | Target | InteractionBagTag | Equal | Idle |
| Check if Target's current interaction bag does NOT contain Piano | Target | InteractionBagTag | NotEqual | Piano |
Back to Command FinderSearch and filter all 491 Script Condition documents