social_event.apply
Overview
- Cheat-creates a social event (SiteEvent) at the possessed character's site using the given template id. Mirrors UB2CheatManager::B2ApplySocialEvent.
Metadata
| Field | Value |
|---|---|
| Display | Apply Social Event |
| Category | social_event |
| Access | UserCheat |
| Scope | B2Authority |
| Tags | — |
| Aliases | ApplySocialEvent |
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| social_event_id | name | yes | — | SiteEvent TableRow id (e.g. SocialEvent_BirthdayParty) |
| group_type | name | no | — | Candidate scope. Empty uses relationships; all/all_characters/all_citizens uses every loaded character. |
| site_id | name | no | — | Optional event site id. Empty uses the possessed character's current site. A site of another city creates the event in that city. |
| start_after_hours | int | no | 1 | Optional hours from the current hour until the event starts. Default 1. |
| film_id | name | no | — | Optional Film.Id attached as the event FilmContext. The stage is Audition when social_event_id is the film's AuditionSocialEventId, otherwise Shooting; the stage's acting interactions are picked at event start and played by the host on the shooting spot. |
| film_scenario_index | int | no | -1 | Optional Film.Scenarios index. -1 picks one at random. Used only with film_id. |
| film_role_id | name | no | — | Optional Film.RoleInfos.RoleId. Empty picks one at random. Used only with film_id. |
Returns
- Return shape is not declared for this command.
Usage
await inzoi.cli.execute('social_event.apply', {
social_event_id: '',
group_type: '', // optional
site_id: '', // optional
start_after_hours: 1, // optional
film_id: '', // optional
film_scenario_index: -1, // optional
film_role_id: '', // optional
});