Skip to main content

Execute_ApplyCareerVacation

Description

Applies a career vacation for the character. Decrements vacation days (PaidVacation only), sets the next workday as vacation, and updates the schedule accordingly.

Parameters

ParameterDescription
BaseObjectThe character requesting vacation.
S1EB1CareerType (e.g., Business, School); defaults to Business if omitted.
S2EB1CareerVacationType (PaidVacation, UnpaidVacation, SickLeave).
F1Vacation day count (0 = use 1 day). Only used when F2 is 0.
F2If > 0 and PaidVacation, sends VacationDayPopup to B1. Ignored for other types.

Examples

DescriptionBaseObjectCommandS1S2F1F2
Apply 1 day of sick leaveSelfApplyCareerVacationBusinessSickLeave
Apply 3 days of paid vacationSelfApplyCareerVacationBusinessPaidVacation3
Open day-selection popup for paid vacationSelfApplyCareerVacationBusinessPaidVacation1