Skip to main content

Execute_OpenCreateSocialEventPopup

Description

Opens the social event creation popup UI for the player. Collects all available social event templates whose conditions pass and sends them to the UI. The popup can be focused on a specific event category; if S1 is empty all categories are shown.

Parameters

ParameterDescription
BaseObjectThe Zoi character who will host the social event (must be Self).
S1Social event category to focus on in the popup. Leave empty for all categories.
S2TimeSettingType for the event start time: NextHour, NextNoon, or CurrentHour.
F1Event duration information passed to the start-time calculation.

Examples

DescriptionBaseObjectCommand
Open the popup showing all social event categoriesSelfOpenCreateSocialEventPopup
Open the popup focused on the Date categorySelfOpenCreateSocialEventPopup
Open the popup focused on Party with fast noon startSelfOpenCreateSocialEventPopup