Posted By: xbox
RDG issue - 06/14/20 16:20
Hi all,
I'm working with a RDG algorithm, and it's been pretty hectic so far, but i've managed to get it working! The problem is I'm trying to debug a specific pattern of numbers. I currently have a variable generating a random number to choose the next room at random, and that works just fine.
The problem is, I want to set that variable to select room 3...easy enough...
However, when I do this, I keep getting an error Nexus too small (0). I even went in and set max_nexus = 200000, and it still gives this error.
using the original piece of code, the game runs perfectly though....any suggestions?
I'm working with a RDG algorithm, and it's been pretty hectic so far, but i've managed to get it working! The problem is I'm trying to debug a specific pattern of numbers. I currently have a variable generating a random number to choose the next room at random, and that works just fine.
Code
... var randIndex = integer(random(6)); ...
The problem is, I want to set that variable to select room 3...easy enough...
Code
... var randIndex = 3; ...
However, when I do this, I keep getting an error Nexus too small (0). I even went in and set max_nexus = 200000, and it still gives this error.
using the original piece of code, the game runs perfectly though....any suggestions?