Execute_AddCareerVacationDays
Description
Adds or subtracts vacation days for the member. Negative values are allowed (subtraction). Result is clamped to 0. When the career type is Business, an Idol career is checked instead (idol trainees, idols and agency staff count as employed).
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The character whose vacation days will be modified. |
| S1 | EB1CareerType (e.g., Business, School); defaults to Business if omitted. |
| F1 | Number of days to add (positive) or subtract (negative). |
Examples
| Description | BaseObject | Command | S1 | F1 |
|---|---|---|---|---|
| Grant 5 vacation days for Business career | Self | AddCareerVacationDays | Business | 5 |
| Deduct 2 vacation days for Business career | Self | AddCareerVacationDays | Business | -2 |
| Grant 3 vacation days for School career | Self | AddCareerVacationDays | School | 3 |
Back to Command FinderSearch and filter all 399 Script Execution documents