This is a section of my procedural grid based map generator, and it is supposed to pick a random type of room from a list, then get it’s spawn chance from another list, and generate it with that chance, placing the default room chunk if otherwise. But for some reason it doesn’t take probability into account. Some room types generate too frequently and don’t seem to follow it’s correct spawn chance. I can confirm this because even if I set the chances of all rooms to 0, they still generate. How do I fix this?
Hi, yes, I actually did some experimenting and eventually figured out how random nodes actually work. I couldn’t find a solution until as you said, assigned it to a variable.
Thanks for the help!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.