Seeded Random Int
PureSeededRandomIntReturns a deterministic integer in [Min, Max] driven by a seed. The same seed always produces the same value.
Type: Pure (no side effects)
Category: Fortuna|Math & Numeric
Keywords: math & numeric
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| Seed | int32 | — | Seed parameter |
| Min | int32 | — | Min parameter |
| Max | int32 | — | Max parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| ReturnValue | int32 | ReturnValue output |
Example Use Cases
Example 1
Assign consistent stat rolls from a character seed.
Example 2
Pick a reproducible random index into a name table.