Every tenth level a boss

hi, there are levels in my game, up to 50 and then comes endless mode. i want that every 10th level will be a boss room, even on endless mode. i googled and found this modulo node, but dont know how to use it. i have and dungeon entrance blueprint which tells what level will be next open. how do i use the modulo, so every tenth level will open boss level? 10,20,30, etc…

Hey @kalekarri!

Plug your level index into the node’s A pin (the one above), and insert the value 10 into its B pin (the one below). Then connect its output pin into an Is Equal To (==) node, and check if it’s 0 using a Branch node.

Hope this helps :innocent:

hey thanks for fast answer! i tried it but it doesnt work :frowning: it still opens the “demo01” level which is the basic dungeon.

ah i think i got it working, my level was one less, just added 1 and it works!

thanks so much!

1 Like