Skip to main content

Condition_LastContactHour

Description

Checks the number of hours elapsed since the last interaction between BaseObject and the counterpart. Returns false if no interaction has ever occurred (LatestInteractionTick is 0).

Parameters

ParameterDescription
BaseObjectCharacter whose last contact time is checked (Self or Target)
CompareTypeComparison operator (Equal, NotEqual, Less, Greater, LessOrEqual, GreaterOrEqual, InRange, OutRange)
F1Elapsed hours threshold or range minimum
F2Range maximum in hours (used with InRange or OutRange)

Examples

DescriptionBaseObjectCommandCompareTypeF1F2
Self has not contacted Target for more than 24 hoursSelfLastContactHourGreater24
Self contacted Target within the last 8 hoursSelfLastContactHourLessOrEqual8
Last contact between Self and Target was 12 to 48 hours agoSelfLastContactHourInRange1248
Target has not contacted Self for over 72 hoursTargetLastContactHourGreater72