playMaker

Author Topic: [HELP] Random Event??  (Read 2292 times)

dhanze

  • Playmaker Newbie
  • *
  • Posts: 25
[HELP] Random Event??
« 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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: [HELP] Random Event??
« Reply #1 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

dhanze

  • Playmaker Newbie
  • *
  • Posts: 25
Re: [HELP] Random Event??
« Reply #2 on: March 31, 2015, 01:38:37 PM »
yes!!

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

thanks in advance

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: [HELP] Random Event??
« Reply #3 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