Skip to main content

Condition_IsContextObject

Description

Checks whether the BaseObject is the context object of the currently playing coop for the NonBaseObject character. S1 specifies the coop type. Currently only "HandOver" is supported, which checks if the BaseObject's entity ID matches the HandOverObjectEntityId of the active FB2CoopScheduler_HandOver on the NonBaseObject.

Parameters

ParameterDescription
BaseObjectThe object entity to check; NonBaseObject is used as the character with the coop
CompareTypeEqual: is the context object; NotEqual: is not the context object
S1Coop type to check (e.g., HandOver)

Examples

DescriptionBaseObjectCommandCompareTypeS1
Is self the hand-over context object?SelfIsContextObjectEqualHandOver
Is target NOT the hand-over context object?TargetIsContextObjectNotEqualHandOver