Posted November 06, 2024 by Saotekin
#Chance Selector #New Macro #Blueprint Kit #Handy #Unreal Engine #UE #New Update #Devlog
The ChanceSelector
function takes a mapping of items with their associated probabilities and outputs a randomly selected item based on these probabilities.
Input:
mapping
: A dictionary where keys are the items to be selected from, and values are the chances (probabilities) of each item being selected. The probabilities should be represented as floats between 0 and 100.Output: