If Integer is equal to

Im trying to get one of 4 lights to light randomly. So in my head it would be, (If random integer is = 1, then light #one. If random integer is = 2, then light # two.) and so on. how would i put this in to blueprints?

You could try a switch on Int node and then setup the lights to activate after or setup a Variable that changes with a random int in range and set the range to 1 - 4 and use branch check for each:

83346-switchonint.png

Put your lights into an array and randomly select one. E.g. set a timer that fires after 2 seconds (repeating) and then make a random number from 0 - 3 and get the light from the array with the index as the random number. then you just turn it on.