Skip to main content

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

ParameterDescription
BaseObjectCharacter whose career attendance days are checked
CompareTypeEqual, NotEqual, Less, Greater, LessOrEqual, GreaterOrEqual, InRange, OutRange
S1EB1CareerType (e.g., Business, School). Defaults to Business if omitted.
F1Attendance day threshold (or minimum for range comparisons)
F2Maximum for InRange/OutRange comparisons only

Examples

DescriptionBaseObjectCommandCompareTypeS1F1F2
First workday in progressSelfCareerEmploymentDayEqual0
First workday completedSelfCareerEmploymentDayEqual1
Worked 7 or more daysSelfCareerEmploymentDayGreaterOrEqual7
School career: between 10~30 daysSelfCareerEmploymentDayInRangeSchool1030

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.