Condition_InteractionTag
Description
Checks whether the InteractionTag specified in S1 is included in the tag set of the interaction currently being performed by the BaseObject.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The object whose current interaction will be checked (Self or Target). |
| CompareType | The comparison operator (Equal, NotEqual). |
| S1 | The InteractionTag to compare against the BaseObject’s current interaction tags. |
Examples
| Description | BaseObject | Command | CompareType | S1 |
|---|---|---|---|---|
| Check if Self’s current interaction includes the tag Trait_Free_Nap | Self | InteractionTag | Equal | Trait_Free_Nap |
| Check if Self’s current interaction does NOT include the tag Piano | Self | InteractionTag | NotEqual | Piano |
| Check if Target’s current interaction includes the tag Piano | Target | InteractionTag | Equal | Piano |
| Check if Target’s current interaction does NOT include Trait_Free_Nap | Target | InteractionTag | NotEqual | Trait_Free_Nap |
Back to Command FinderSearch and filter all 491 Script Condition documents