Skip to main content

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

ParameterDescription
BaseObjectThe coop participant to check (Self or Target). The main target candidate is the NonBaseObject.
CompareTypeThe comparison operator (Equal, NotEqual).
S1Coop.Id to require that specific coop. None matches any coop.

Examples

DescriptionBaseObjectCommandCompareTypeS1
Check if Target is following Self in the FollowGo coopTargetIsCoopMainTargetEqualFollowGo
Check if Target is not in any coop requested on SelfTargetIsCoopMainTargetNotEqualNone