Execute_CancelCurrentCoop
Description
Ends the coop the BaseObject character is currently taking part in, releasing every participant of that coop. The cancel is silent, unlike a coop that ends because one of its interactions was interrupted, so no coop failure toast is shown. Use it where stopping the coop is the intended outcome, such as telling a follower to stop following. A character that is not connected to a coop scheduler is left untouched, and so is a coop that the NonBaseObject neither started nor was requested on.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The character whose current coop will be ended (Self or Target). |
| S1 | Coop.Id to end only that coop. Leave it None to end whichever coop BaseObject is taking part in. |
Examples
| Description | BaseObject | Command | S1 |
|---|---|---|---|
| End the follow coop Target is taking part in | Target | CancelCurrentCoop | Follow |
| End the FollowGo coop Target started on Self | Target | CancelCurrentCoop | FollowGo |
| End whichever coop Self is taking part in | Self | CancelCurrentCoop | None |