Skip to main content

Condition_CareerAbsenceDay

Description

Compares the character's absence days against a threshold. Used by UnexcusedAbsenceScript to gate "fired" buffs until the consecutive absence count actually reaches the fire threshold.

Parameters

ParameterDescription
BaseObjectThe entity whose absence days are checked (Self or Target).
CommandCareerAbsenceDay (this condition type).
CompareTypeThe comparison operator: Equal/NotEqual/Greater/Less/GreaterOrEqual/LessOrEqual.
S1EB1AbsenceDayType (Consecutive = ConsecutiveAbsenceDays, Unexcused = UnexcusedAbsenceCount).
S2"Fire" -> use UB1CareerDataAsset::FireAbsenceDayThreshold as threshold (F1 ignored).
F1Threshold when S2 is not "Fire". Ignored when S2 == "Fire".

Examples

DescriptionBaseObjectCommandCompareTypeS1S2F1
Has consecutive absence days reached the fire threshold?SelfCareerAbsenceDayGreaterOrEqualConsecutiveFire0
Consecutive absence days >= 2SelfCareerAbsenceDayGreaterOrEqualConsecutive2
Cumulative unexcused absence count > 5SelfCareerAbsenceDayGreaterUnexcused5