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
| Params | Description |
|---|---|
| BaseObject | The main target whose coops are ended. (Self, Target) |
| S1 | Coop.Id to end only that coop. None ends every coop requested on the BaseObject. |
Examples
| Example | BaseObject | Command | S1 |
|---|---|---|---|
| Release every Zoi that started following Self. | Self | CancelCoopAsMainTarget | FollowGo |