Condition_ImprisonmentCount
Description
Checks the number of times the BaseObject character has been imprisoned.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The character whose imprisonment count will be checked |
| CompareType | Equal, NotEqual, Greater, GreaterOrEqual, Less, LessOrEqual, InRange, OutRange |
| F1 | Imprisonment count to compare against |
| F2 | Upper bound for range comparisons (InRange, OutRange) |
Examples
| Description | BaseObject | Command | CompareType | F1 | F2 |
|---|---|---|---|---|---|
| Check if Self has been imprisoned at least once | Self | ImprisonmentCount | GreaterOrEqual | 1 | |
| Check if Self has never been imprisoned | Self | ImprisonmentCount | Equal | 0 | |
| Check if Self has been imprisoned between 2 and 5 times | Self | ImprisonmentCount | InRange | 2 | 5 |