Skip to main content

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

ParameterDescription
BaseObjectThe character whose current coop will be ended (Self or Target).
S1Coop.Id to end only that coop. Leave it None to end whichever coop BaseObject is taking part in.

Examples

DescriptionBaseObjectCommandS1
End the follow coop Target is taking part inTargetCancelCurrentCoopFollow
End the FollowGo coop Target started on SelfTargetCancelCurrentCoopFollowGo
End whichever coop Self is taking part inSelfCancelCurrentCoopNone