Help - Search - Members - Calendar
Full Version: How to mix the order of choices?
RPG RPG Revolution Forums > Game Engines > RPG Maker VX Discussion
DreadFulPero
Hello,

I would like to know how is possible to mix the order of choices.
You have 4 choices for example: One, Two, Three, Four. I want to make their order different any time you speak with a person or something similar.
For example, the fist time you speak to someone you get the order: Two, Four, Three, One, the second time you speak with him you have Four, One, Two, Three, and so on. Every time the order is different.
Myst
Why don't you change it every time manually...?
DreadFulPero
QUOTE (Myst @ Feb 21 2012, 02:42 PM) *
Why don't you change it every time manually...?


how do you mean every time manually?
i am doing an educational rpg, and i have a question and answers and the questions can be repeated, so i want to mix the answers every time the same question shows up.
the right answer and the wrong answers are always the same, but their order is different every time.
Myst
Question 1:

Input choice

1 = > right
2 = > false
3 = > false
4 = > false

Question 2:

Input choice

1 = > false
2 = > false
3 = > right
4 = > false
DreadFulPero
QUOTE (Myst @ Feb 21 2012, 04:59 PM) *
Question 1:

Input choice

1 = > right
2 = > false
3 = > false
4 = > false

Question 2:

Input choice

1 = > false
2 = > false
3 = > right
4 = > false


I have it done like that now. But I want to have different order of answers every time the question shows up.
Like the first time question 1 is like you show me, and the second time the question one is:
1 = > false
2 = > false
3 = > riht
4 = > false
and i want all the answers to be mixed, even the false ones.
Vexus
Can't you do a random variable of 1 to 4 saying when 1 show first choices, when 2 show 2nd choices, etc etc?
DreadFulPero
QUOTE (Vexus @ Feb 22 2012, 12:14 PM) *
Can't you do a random variable of 1 to 4 saying when 1 show first choices, when 2 show 2nd choices, etc etc?


yes, i can do that, but i thought if its possible to do it a little shorter, becouse i have 7 answers per question, so i would need to do random choices from 1 to 7. so i would have a lot of repetitive work to do and i thought there is some different way.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.