Condition_IsCoopHost
Description
Checks whether the host of the coop the BaseObject is taking part in is the NonBaseObject. Use it to tell the character who actually started the coop apart from a bystander who merely sees the same interaction bag running. The host keeps being recorded on the coop scheduler even after its own task is done and it is released from the coop, so this holds for the whole lifetime of the coop.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The coop participant to check (Self or Target). The host candidate is the NonBaseObject. |
| CompareType | The comparison operator (Equal, NotEqual). |
| S1 | Coop.Id to require that specific coop. None matches any coop. |
Examples
| Description | BaseObject | Command | CompareType | S1 |
|---|---|---|---|---|
| Check if Target is following Self in the Follow coop | Target | IsCoopHost | Equal | Follow |
| Check if Target is not in any coop hosted by Self | Target | IsCoopHost | NotEqual | None |