How to random position without Plug-in

Good Evening.
How to
1. Player random position without Plug-in
2. Event random position without Plug-in

Thank you so much. :LZSexcite:
Set variables to random values, then use either transfer player or set event location to draw the coords from the variables.
WOW!!!! Thank you so much :LZSsmile::LZSproud:
-------

How I do in this case. :LZSsmile:
181118074359.jpg

Random A in any number in Blue square.
Random B in any number in Blue square.
But A and B can't Stand in same number.

Thank you so much :LZSsmile::LZSsmile:
Set random variable 1-9, then transfer A to spot designated for the outcome of the variable.
Then set random variable #2 1-9, check if its outcome is equal to the first variable (and if so, reroll it), otherwise transfer B to spot designated for the outcome of the variable.
Set random variable 1-9, then transfer A to spot designated for the outcome of the variable.
Then set random variable #2 1-9, check if its outcome is equal to the first variable (and if so, reroll it), otherwise transfer B to spot designated for the outcome of the variable.

Thank you. :LZSsmile:
Now I understand that concept.
But How to "REROLL" 😢
But How to "REROLL" 😢
Use a conditional branch command to compare the 2 variables and see if they're equal, and if they are, repeat the process until the outcome isn't them being equal in value.
This is how I would set it up, though there may be a more efficient way. I tried to put in enough comments to explain what was happening.



Reroll = Jump to label

Thank you. :LZSsmile:

Original thread: https://forums.rpgmakerweb.com/threads/how-to-random-position-without-plug-in.102273/