Condition_CompleteAmbition
Description
Checks whether an ambition has been completed. When F1 is 1 or greater, it compares
the total number of completed ambitions against F1 (and optionally F2) using CompareType.
When F1 is less than 1, it checks whether the specific ambition identified by S1 has been
completed, supporting only Equal and NotEqual comparisons.
Parameters
| Parameter | Description |
|---|
| BaseObject | The entity to check (Self or Target). |
| CompareType | Comparison operator (Equal, NotEqual, GreaterOrEqual, InRange, etc.). |
| S1 | Ambition item ID to check by name (used when F1 < 1; e.g., Rich, Voice). |
| F1 | Completed ambition count threshold (when >= 1, compares total count). |
| F2 | Upper bound for range comparisons (used when CompareType is InRange). |
Examples
| Description | BaseObject | Command | CompareType | S1 | F1 | F2 |
|---|
| Check if self has completed 5 or more ambitions | Self | CompleteAmbition | GreaterOrEqual | | 5 | 0 |
| Check if self has completed the Rich ambition | Self | CompleteAmbition | Equal | Rich | 0 | 0 |
| Check if self has NOT completed the Rich ambition | Self | CompleteAmbition | NotEqual | Rich | 0 | 0 |
| Check if self has completed 1 to 3 ambitions | Self | CompleteAmbition | InRange | | 1 | 3 |