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
| Parameter | Description |
|---|---|
| BaseObject | The object entity to check; NonBaseObject is used as the character with the coop |
| CompareType | Equal: is the context object; NotEqual: is not the context object |
| S1 | Coop type to check (e.g., HandOver) |
Examples
| Description | BaseObject | Command | CompareType | S1 |
|---|---|---|---|---|
| Is self the hand-over context object? | Self | IsContextObject | Equal | HandOver |
| Is target NOT the hand-over context object? | Target | IsContextObject | NotEqual | HandOver |
Back to Command FinderSearch and filter all 491 Script Condition documents