Skip to main content

Execute_GoToJail

Description

Sends the BaseObject character to jail. Handles vehicle dismount, clears the current character state, teleports to the city prison, and applies the prisoner post-process (buff/outfit/timeline).

The delay is controlled by F1 (in-game minutes):

  • F1 <= 0 (or near zero): sends to jail immediately (synchronous, not affected by interaction queue cancellation - useful right after the target is subdued).
  • F1 > 0: schedules a one-shot TimeTask and sends to jail after the given in-game time elapses.

Parameters

ParameterDescription
BaseObjectThe character to send to jail (Self or Target)
F1Delay before imprisonment, in in-game minutes. <= 0 (or near zero) = immediate

Examples

DescriptionBaseObjectCommandF1
Send Self to jail immediatelySelfGoToJail
Send the subdued Target to jail immediatelyTargetGoToJail0
Send Self to jail after 60 in-game minutesSelfGoToJail60