A weighted_loot_entry that returns the loot selected from a nested loot_pool.
Verse using statement |
using { /UnrealEngine.com/LootPools } |
Inheritance Hierarchy
This class is derived from weighted_loot_entry.
| Name | Description |
|---|---|
weighted_loot_entry |
A single option in a |
Members
This class has both data members and functions.
Data
| Data Member Name | Type | Description |
|---|---|---|
MaxSelectionCount |
?int |
The maximum number of times this entry can be selected in a single call to the owning pool's |
Pool |
loot_pool |
The nested |
WeightCalculator |
loot_weight_calculator |
Calculates how likely this entry is to be selected, relative to the other entries in the pool.
A higher weight makes this entry more likely to be selected. Defaults to a fixed weight of |
Functions
| Function Name | Description |
|---|---|
GetEntryValue |
Returns the result of |
GetEntryValue |
Instantiates and returns a set of entities when this entry is selected. Override per new entry type. Fails if no loot can be produced. |
SelectAndDecrementCount |
Selects this entry and returns its loot, counting the selection against |