playMaker

Author Topic: How to set up appearance chance? [SOLVED]  (Read 1542 times)

Neikke

  • Full Member
  • ***
  • Posts: 134
How to set up appearance chance? [SOLVED]
« on: October 13, 2017, 11:12:05 AM »
I'd like to have a control over the appearance chance of let's say a magnet or any other powerup in my game. How would I set it up so that if I set it to 100 it's discoverable all the time, and less values would give relevant chances to discover it? Thanks in advance!
« Last Edit: October 15, 2017, 04:57:43 AM by djaydino »

Ofonna

  • Full Member
  • ***
  • Posts: 230
Re: How to set up appearance chance?
« Reply #1 on: October 13, 2017, 09:38:02 PM »
you could use the send random event and set the weights to the chances you like, each power up will then have it's own special global event, there are plenty ways you could do it

Neikke

  • Full Member
  • ***
  • Posts: 134
Re: How to set up appearance chance?
« Reply #2 on: October 14, 2017, 08:31:29 AM »
Thanks lot! Works perfectly! :)

Ofonna

  • Full Member
  • ***
  • Posts: 230
Re: How to set up appearance chance?
« Reply #3 on: October 15, 2017, 12:58:28 AM »
no problem, happy it worked!