Blueprint Function Library

Random integer:
randomstat

Supply an array if probabilities. Function will return a winning index.