Condition_CheckDice
Description
Checks whether the previously rolled dice value falls within the specified range without rolling again. Used after CheckDiceWithRoll to re-evaluate the same roll result.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The entity whose previously rolled dice value is checked |
| S1 | Number of dice faces used when the dice was originally rolled (default: 100) |
| F1 | Minimum value of the valid range (inclusive) |
| F2 | Maximum value of the valid range (inclusive) |
Examples
| Description | BaseObject | Command | S1 | F1 | F2 |
|---|---|---|---|---|---|
| Succeed if previously rolled 100-die value is 1-50 | Self | CheckDice | 1 | 50 | |
| Succeed if previously rolled 6-die value is 1-3 | Self | CheckDice | 6 | 1 | 3 |
| Succeed if previously rolled 100-die value is 1-30 | Self | CheckDice | 1 | 30 | |
| Always succeed on the previous 100-die roll | Self | CheckDice | 1 | 100 |
Back to Command FinderSearch and filter all 491 Script Condition documents