oosyrag Your example is sorta almost to what i have in mind but What i have set up is one array to have all the location and their spawn pool monster.
Such as this Route 1 | Slime | Bat | Cat |
Route 2 | Slime | Cat | Wolf | Giant Turtle | Lion
And those are in the same array just the X value of Route 1 is at 0 and Route 2 is at 1. I want to do a call back system where if i am on the section of the Map Route one. I have a global variable to include the area name Route 1
and so id like the contruct two to quickly find in the array of the route 1 and use a random modifier to choose between Slime bat cat for route one but if i am on route two use the slime,cat, wolf, Giant turtle, lion.
And my idea was to use something like to check the array on the X axis of the area name such as route 2 to add one variable count to the local variable pool to use so that If you are on route one the pool would be Four and id would just minus one at the end so that it would be three. So then Id would have contruct two to use the local variable Pool for the max number of monster to choose from and then it could just be ( choose (1- pool) ) and then next it would use that new chosen value to find the array monster in the function of [array.at]
And then use that found and chosen array value to be use as the enemy in a 1v1 setting.
And this would just be all in one function so that for every new route id create it would just be in the array so that it would just be me creating art and maps lol.
But I do like your example btw can you explain the event conditions they are a tad confusing to know where you got your result to be like that.
My main problem is getting construct two to find the right loop to check for the data and then set it to the local variable called pool.
I hope this makes sense