A loot_pool that makes weighted random selections from Options.
Entries with higher weights are selected more often. RollCalculator determines how many independent selections are made in a single call to SelectLoot.
Verse using statement |
using { /UnrealEngine.com/LootPools } |
Inheritance Hierarchy
This class is derived from loot_pool.
| Name | Description |
|---|---|
loot_pool |
Base class of all loot-generating classes. |
Members
This class has both data members and functions.
Data
| Data Member Name | Type | Description |
|---|---|---|
Options |
[]weighted_loot_entry |
The entries that can be selected, each with its own weight and optional selection limit. |
RollCalculator |
loot_roll_calculator |
Determines how many independent selections are made from |
Functions
| Function Name | Description |
|---|---|
SelectLoot |
Makes weighted random samples from |
SelectLoot |
Returns the entities to be granted as loot, as determined by |