Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: dhanze on March 31, 2015, 12:49:14 PM

Title: [HELP] Random Event??
Post 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
Title: Re: [HELP] Random Event??
Post by: jeanfabre on March 31, 2015, 01:04:34 PM
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
Title: Re: [HELP] Random Event??
Post by: dhanze on March 31, 2015, 01:38:37 PM
yes!!

how can I do that do you have any TUT for that??

thanks in advance
Title: Re: [HELP] Random Event??
Post by: jeanfabre on April 01, 2015, 03:42:55 AM
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