Skip to main content

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

FieldValue
DisplayApply Social Event
Categorysocial_event
AccessUserCheat
ScopeB2Authority
Tags—
AliasesApplySocialEvent

Parameters

NameTypeRequiredDefaultDescription
social_event_idnameyes—SiteEvent TableRow id (e.g. SocialEvent_BirthdayParty)
group_typenameno—Candidate scope. Empty uses relationships; all/all_characters/all_citizens uses every loaded character.
site_idnameno—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_hoursintno1Optional hours from the current hour until the event starts. Default 1.
film_idnameno—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_indexintno-1Optional Film.Scenarios index. -1 picks one at random. Used only with film_id.
film_role_idnameno—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
});