Translations

Know another language? Translate this tutorial!

%How to make some values more likely than others%

Favourite 4 favourites
Tutorial written by MasgameOriginally published on 27th, December 2016

Set value RANDOM to:
Round(random(0,1000))
Random is ≥ 900

     :                ACTION (100 = 10%)

Random is ≥ 950 < 900

    :      ACTION (50 = 5%)

Etc...

Unlock your full gamedev potential

Upgrade to the Personal Edition of Construct 2, it has way more features and won't holding back from making money and using your full creativity like the free edition does. It's a one off payment and all Construct 2 editor updates are free for life!

View deals

Plus, it's got a lot of additional features that will help you save time and make more impressive games!

Congratulations on finishing this tutorial!

Did you learn a lot from it? Share it now with your friends!

Share and Copy this Tutorial

You are free to copy, distribute, transmit and adapt this work with correct attribution. Click for more info.

Comments

1
Lidro 431 rep

This is very important in some games. Thanks
But you could start with a little description of what your tutorial is about. The title isn't descriptive enough. I think I could guess because I'm doing a game that needs that right now.

Thursday, January 12, 2017 at 1:14:40 AM

Leave a comment

Everyone is welcome to leave their thoughts! Register a new account or login.