Condition_CareerEmploymentDay
Description
Compares the number of completed workdays (attendance days) for the character's career. Uses AttendanceDays which is incremented each time the member finishes a workday. On the first workday (before it ends): AttendanceDays == 0. After the first workday completes: AttendanceDays == 1.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | Character whose career attendance days are checked |
| CompareType | Equal, NotEqual, Less, Greater, LessOrEqual, GreaterOrEqual, InRange, OutRange |
| S1 | EB1CareerType (e.g., Business, School). Defaults to Business if omitted. |
| F1 | Attendance day threshold (or minimum for range comparisons) |
| F2 | Maximum for InRange/OutRange comparisons only |
Examples
| Description | BaseObject | Command | CompareType | S1 | F1 | F2 |
|---|---|---|---|---|---|---|
| First workday in progress | Self | CareerEmploymentDay | Equal | 0 | ||
| First workday completed | Self | CareerEmploymentDay | Equal | 1 | ||
| Worked 7 or more days | Self | CareerEmploymentDay | GreaterOrEqual | 7 | ||
| School career: between 10~30 days | Self | CareerEmploymentDay | InRange | School | 10 | 30 |
Notes
- Returns false (error) if FB2CareerComponent is missing: this condition must only be used on characters with Career.
- Returns false (error) if CareerEntityId is valid but the Career entity cannot be found: indicates a data inconsistency.
- Returns NotEqual result if the character has no active career of the specified type (S1), or is not registered as a member.
Back to Command FinderSearch and filter all 491 Script Condition documents