Skip to main content

Condition_CurrentAmbition

Description

Checks the current step of a specific ambition for the specified entity. Retrieves the ambition's current step by ambition ID (S1) and compares it against the expected step value (F1), with optional upper bound (F2) for range comparisons.

Parameters

ParameterDescription
BaseObjectThe entity to check (Self or Target).
CompareTypeComparison operator (Equal, NotEqual, Less, Greater, LessOrEqual, GreaterOrEqual, InRange, OutRange).
S1Ambition ID to look up the current step for (e.g., Rich, Voice).
F1Expected ambition step value to compare against.
F2Upper bound for range comparisons (used when CompareType is InRange or OutRange).

Examples

DescriptionBaseObjectCommandCompareTypeS1F1F2
Check if self's Rich ambition is exactly at step 2SelfCurrentAmbitionEqualRich20
Check if self's Rich ambition is below step 3SelfCurrentAmbitionLessRich30
Check if self's Voice ambition is at step 2 or higherSelfCurrentAmbitionGreaterOrEqualVoice20
Check if self's Rich ambition step is between 1 and 2SelfCurrentAmbitionInRangeRich12