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
| Parameter | Description |
|---|---|
| BaseObject | The character to send to jail (Self or Target) |
| F1 | Delay before imprisonment, in in-game minutes. <= 0 (or near zero) = immediate |
Examples
| Description | BaseObject | Command | F1 |
|---|---|---|---|
| Send Self to jail immediately | Self | GoToJail | |
| Send the subdued Target to jail immediately | Target | GoToJail | 0 |
| Send Self to jail after 60 in-game minutes | Self | GoToJail | 60 |