How to random position without Plug-in

● ARCHIVED · READ-ONLY
Started by pangloy 8 posts View original ↗
  1. Good Evening.
    How to
    1. Player random position without Plug-in
    2. Event random position without Plug-in

    Thank you so much. :LZSexcite:
  2. Set variables to random values, then use either transfer player or set event location to draw the coords from the variables.
  3. 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:
  4. 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.
  5. Milennin said:
    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" :kaocry:
  6. pangloy said:
    But How to "REROLL" :kaocry:
    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.
  7. 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.



  8. Reroll = Jump to label

    Thank you. :LZSsmile: