Condition_GiftBoxTendency
Description
Checks the reward tendency (Positive or Negative) of the Target gift box. Returns true if the gift reward value is positive and S1 is "Positive", or if the value is negative and S1 is "Negative".
Parameters
| Parameter | Description |
|---|---|
| BaseObject | Not directly used; gift data is resolved from the Target entity in context |
| S1 | Expected tendency: "Positive" (reward value > 0) or "Negative" (reward value < 0) |
Examples
| Description | BaseObject | Command | S1 |
|---|---|---|---|
| Check if Target gift has a positive reward tendency | Self | GiftBoxTendency | Positive |
| Check if Target gift has a negative reward tendency | Self | GiftBoxTendency | Negative |
Back to Command FinderSearch and filter all 491 Script Condition documents