Skip to main content

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

ParameterDescription
BaseObjectA customer Character located at a HouseholdBiz site. Used to resolve the current biz.
CompareTypeEqual, NotEqual, Greater, GreaterOrEqual, Less, or LessOrEqual comparison against F1.
F1Threshold purchase desire value to compare against the customer's current gauge.

Examples

DescriptionBaseObjectCommandCompareTypeF1
Check if Self's purchase desire is greater than 100SelfIsPurchaseDesireOverThresholdGreater100
Check if Target's purchase desire is at least 50TargetIsPurchaseDesireOverThresholdGreaterOrEqual50