itch.io is community of indie game creators and players

Devlogs

New Macro Added: Chance Selector

Blueprints Forever: An Expanding Collection
A downloadable Blueprint Kit for UE5

ChanceSelector

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:

  • A randomly selected item from the mapping, chosen based on the provided probabilities.

Files

  • ForeverFunctions.zip 272 kB
    Nov 06, 2024
Download Blueprints Forever: An Expanding Collection
Leave a comment