Weighted Loot Roll
PureWeightedLootRollPerforms a weighted random roll on a loot table. Keys are item names, values are weights.
Type: Pure (no side effects)
Category: Fortuna|Gameplay Utilities
Keywords: gameplay utilities
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| LootTable | TMap<FName, float> | — | LootTable parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| ReturnValue | FName | ReturnValue output |
Example Use Cases
Example 1
Roll for a random drop from a chest.
Example 2
Determine which reward to give at quest completion.