Currently Advanced Random has one defined probability table, "Testing Zone". This corresponds to an instance variable of some other objects in the game. When those objects are selected by a function that seems not to be relevant here, I want the value of that instance variable to make Advanced Random choose the corresponding probability table.
In other words, when a tile whose variable is "Testing Zone" is selected, the current probability table should be "Testing Zone".
When the game starts, this works. However, after several seconds, the current probability table becomes blank, and does not regain "Testing Zone" even when the tiles are continually selected.
Some clarifying points:
-All of the tiles currently have the value of "Testing Zone", so I know for certain that there isn't any other value getting in the way here.
-I have a dummy variable, called "thing", also receiving the value from the tiles. By checking this, I have verified that "Testing Zone" is indeed being passed correctly.
-I found no success at all telling Advanced Random to make WildEncounterTiles.Location the current probability table. Changing that to str(WildEncounterTiles.Location) fixed that, insofar as it works correctly at the beginning and then never again once the probability table gets reset for some reason. EDIT: After further testing, it seems either one leads to the same result, actually.
The attached screenshot shows what I believe to be the relevant portion of the event sheet. Any help would be very much appreciated!