I followed a tutorial to the tee and I think it’s just an issue with the a setting somewhere that isn’t creating the layout properly or using the selected exit point. I keep getting this error
It spawns the 2nd room but it spawns it in a set location and not a random one. It should be spawning on “exit points” and there are 3 total (1 on each side of the square except the main entrance) So it has to be a setting inside of URE5.
If I’m understanding your question correctly, how does it pick where to spawn from when choosing “Exits List” , it’s based off of this folder and these arrows
The variable you’re using has nothing to do with the component you’re showing - at least judging by what we can see atm. The list may be based on it, sure - but how do you populate the array variable? Where is the script that does that?
Based off the guide I was going off of it wasn’t added on the 2nd event only the first. On the initial script I ran I just appended it (see below) but that was just to spawn the one room with the arrows. When I run “Print String” it shows the 3 exit points in the folder.
What I meant is generally if the script was good a red line would run through it but here there isn’t a red line so I assumed it’s just a dead script (there’s nothing happening)
It’s actually insane because once I continue down the same “Dungeon Generation” tutorial and I get to the integers portion, it will literally spawn 15 random “rooms” like Dungeon_Room113, Dungeon_Room48, etc.
But it will spawn all of them at the 0’,0’,0’ coordinates instead of using the exit points as spawn points. So completely unsure why the Selected Exit Points are causing that issue when I never edited them to begin with (other than selecting the ‘show in game’ setting)
You get no return from the array, you get 0,0,0 as the default value because an element is invalid. Could you please confirm the length of the array? Asking nicely for the 3rd time
I am super sorry. I’m practically a 5 year old when it comes to this. This is what I got from your previous “try out” in terms of putting the “print string” into that specific location in the code. Not sure where to find the “length” but I assume it’s that green string I attached it to (I hope for your sanity’s sake I am right - again super sorry)