Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: dhanze on March 31, 2015, 12:49:14 PM
-
Hello, I have a "send ramdom event" I would like to know is how the EVENT taking once..
check my attachments
-
Hi,
do you mean, you want to pick a random question but don't want to ask it twice?
this is covered by ArrayMaker, simply use an ArrayList, and when you pick a question remove it from the list. to recreate the list, use "revert to Snapshot" action or copy it from a source list that remains untouched.
Bye,
Jean
-
yes!!
how can I do that do you have any TUT for that??
thanks in advance
-
Hi,
Yes, study the CardsDeck sample in ArrayMaker, it's the same principle.
you have a set of cards/Questions and you want to pick a randome one from the stack and remove that card/question from that stack so that the next round/Question you don't pick twice the same.
Bye,
Jean