Condition_HasEventScheduleInDayRange
Description
Checks whether the BaseObject character has a fixed schedule, or a player-side social event where it is the host or holds a required role, on the coming S1 weekday between F1 and F2. Work and other base schedules are not counted. The override timeline holds one day per weekday, so the coming S1 weekday is the one within the next 7 days.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The character whose schedule is checked (Self or Target) |
| CompareType | Equal = has such a schedule, NotEqual = free |
| S1 | Day of week (EB1DayOfWeek name) |
| F1 | Range start time (HHMM) |
| F2 | Range end time (HHMM) |
Examples
| Description | BaseObject | Command | CompareType | S1 | F1 | F2 |
|---|---|---|---|---|---|---|
| Checks if Self is free on Tuesday 15:00 ~ 17:00 | Self | HasEventScheduleInDayRange | NotEqual | Tuesday | 1500 | 1700 |
| Checks if Target is busy on Monday 15:00 ~ 17:00 | Target | HasEventScheduleInDayRange | Equal | Monday | 1500 | 1700 |