Make an event with X% Chance to fire

How would I make an event have a specific chance to fire?
I understand I could use random integer between 1-100 and then a switch on int with 100 outputs, and have the outputs correspond with a set variable, but is this really the best way to go about doing this?

Thank you,

This might be more elegant (0.7 = triggers with 70% chance):

1 Like

Thank you very much this is great.

1 Like