Condition_IsPurchaseDesireOverThreshold
Description
Compares the BaseObject customer's current purchase desire gauge against the threshold
value specified by F1, using the CompareType operator. The purchase desire is looked up on
the HouseholdBiz located at the BaseObject's current Site (not the last completed business day).
Returns false if the BaseObject has no valid located Site or HouseholdBiz.
InRange, OutRange, and None CompareTypes are not supported.
Parameters
| Parameter | Description |
|---|
| BaseObject | A customer Character located at a HouseholdBiz site. Used to resolve the current biz. |
| CompareType | Equal, NotEqual, Greater, GreaterOrEqual, Less, or LessOrEqual comparison against F1. |
| F1 | Threshold purchase desire value to compare against the customer's current gauge. |
Examples
| Description | BaseObject | Command | CompareType | F1 |
|---|
| Check if Self's purchase desire is greater than 100 | Self | IsPurchaseDesireOverThreshold | Greater | 100 |
| Check if Target's purchase desire is at least 50 | Target | IsPurchaseDesireOverThreshold | GreaterOrEqual | 50 |