Skip to main content

Condition_ImprisonmentCount

Description

Checks the number of times the BaseObject character has been imprisoned.

Parameters

ParameterDescription
BaseObjectThe character whose imprisonment count will be checked
CompareTypeEqual, NotEqual, Greater, GreaterOrEqual, Less, LessOrEqual, InRange, OutRange
F1Imprisonment count to compare against
F2Upper bound for range comparisons (InRange, OutRange)

Examples

DescriptionBaseObjectCommandCompareTypeF1F2
Check if Self has been imprisoned at least onceSelfImprisonmentCountGreaterOrEqual1
Check if Self has never been imprisonedSelfImprisonmentCountEqual0
Check if Self has been imprisoned between 2 and 5 timesSelfImprisonmentCountInRange25