A weighted_loot_entry that returns a new instance of EntityType when selected.
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 |
|---|---|---|
EntityType |
concrete_subtype(castable_subtype(entity)) |
The type of |
MaxSelectionCount |
?int |
The maximum number of times this entry can be selected in a single call to the owning pool's |
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 an array containing one new instance 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 |