Skip to main content

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

ParameterDescription
BaseObjectThe coop participant to check (Self or Target). The host 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 Follow coopTargetIsCoopHostEqualFollow
Check if Target is not in any coop hosted by SelfTargetIsCoopHostNotEqualNone