Skip to main content

Execute_CancelCoopAsMainTarget

Description

Ends every coop whose main target is the BaseObject - every coop that was requested on it. Unlike CancelCurrentCoop, which only reaches the coop the BaseObject is still connected to, this walks the live coop schedulers, so it releases every Zoi following the BaseObject through FollowGo. Each follower hosts its own scheduler there and the followed Zoi is released from all of them early.

Parameters

ParamsDescription
BaseObjectThe main target whose coops are ended. (Self, Target)
S1Coop.Id to end only that coop. None ends every coop requested on the BaseObject.

Examples

ExampleBaseObjectCommandS1
Release every Zoi that started following Self.SelfCancelCoopAsMainTargetFollowGo