Condition_IsCoopMainTarget
Description
Checks whether the main target of the coop the BaseObject is taking part in is the NonBaseObject. The main target is the character the coop was requested on, the counterpart of the host who requested it. It keeps being recorded on the coop scheduler even after that character finished its own role task and was released from the coop, so ask it from the participant who is still connected. In FollowGo the follower starts the coop and stays in it while the followed character is released early, so ask the follower.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The coop participant to check (Self or Target). The main target 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 FollowGo coop | Target | IsCoopMainTarget | Equal | FollowGo |
| Check if Target is not in any coop requested on Self | Target | IsCoopMainTarget | NotEqual | None |