Ah yes I get you.
I have made a small example which I hope helps. I added in comments which explain what things do but if there is anything I have missed or you want to ask about anything than don't hesitate to ask.
drive.google.com/file/d/0BxiyVK_wBh3vem45M2cxV1NrNU0/view?usp=sharing
I have never used google drive before and for some reason I cannot attach files so I hope that link works
The example uses a dice button to generate the number but I'm sure that what you are using can be easily converted across since you just need to save the result into two global or local variables.
The only issue is that I haven't animated the movement so they sort of teleport to their new position, I am almost certain that the Custom Movement behavior could fix this but I am quite new so have not touched on that behavior yet.