Condition_InteractionName
Description
Checks the interaction currently being performed by the specified BaseObject and compares it against the given interaction ID.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The object whose current interaction will be checked (Self or Target). |
| CompareType | The comparison operator (Equal, NotEqual). |
| S1 | The interaction ID to compare against the BaseObject's current interaction. |
Examples
| Description | BaseObject | Command | CompareType | S1 |
|---|---|---|---|---|
| Check if Self is performing the "Book_PickUp_Sit_Read" interaction | Self | InteractionName | Equal | Book_PickUp_Sit_Read |
| Check if Self is NOT performing the "Book_PickUp_Sit_Read" interaction | Self | InteractionName | NotEqual | Book_PickUp_Sit_Read |
| Check if Target is performing a specific interaction | Target | InteractionName | Equal | Piano_Play |
| Check if Target is NOT performing a specific interaction | Target | InteractionName | NotEqual | Piano_Play |
Back to Command FinderSearch and filter all 491 Script Condition documents