Hello!
Today i'll show you how to make a ranked system like "League of Legends" with Intersect Engine 5.1!
On my game i have an a more advanced system like this photo
I'll show you how
So...step by step
We will made a basic system of 3 leagues with 5 divisions
Bronze 5 to 1
Gold 5 to 1
And Master
First step: Make 3 player variables: "Leagues", "Divisions","Points"
Make a common event to set Variable {Leagues} and {divisions} to 1 by default on login with conditional "If player league is equal to 0" and "If player divisions is equal to 0"
On the other common event make the next:
Insert a "Wait" for 15.000 ms (15 seconds)
Insert a Conditional Branch for check if the player points are greather than or equal to 100
Inside of this conditional add other conditional branch for check if player division are equal to 5 (This means that the player is in a division 1 ready for obtain a new league)
Inside of this conditional add another conditional branch for check if player league is equal to 3 (The max league) [For obtain infinite points and don't acquire more leagues]
on Else sectión (Blue line) add player variable {leagues} +1 and set player variable {points} to 0
on another Else section (Cyan) add player variable {divisions} +1 and set player variable {points} to 0 (This is because the player dont have a division equal to 5 (Ex. Gold 1,bronze 1,etc)
Set the trigger on "autorun" and we will go to another conditional branch below all this
On the next conditional will do this:
Add a new conditional branch for check if player points are less than or equal to -20 (For descend)
Inside add another conditional for check if player variable {leagues} is equal to 1 (Because a bronce can't lose more leagues)
Inside add another conditional for check if the bronze division are equal to 1 and dont add anything more (For lose inifinity points only)
On Else part (2nd green lane) substract 1 from player variable {divisions} (This is because the Bronze player are on division like 4,3,2 or 1 and can descend)
On Else part (Cyan color) add another conditional branch for check if player variable {divisions} are equal to 1
inside Subtract 1 to player variable {leagues} - Set player variable {Divisions} to 5 and Set player variable points in a random number 50 to 80
Now on the last else part (Blue color) Subtract 1 to player variable {Divisions} and set the player variable {points} in a random number 50 to 80
Save this and go to make another Common event for players (This will be for check manually our leagues)
Now on the new Common event you need to do this:
Add a conditional Branch for check if player variable {leagues} is equal to 3 (Max league "Master")
If are Master add a Chatbox text that say "\pn are MASTER with \pv{points} points"
On Else (Yellow) add another conditional for check if player variable {leagues} is equal to 2
Inside (Green) add another conditional Branch for check if player variable {divisions} are equal to 5 (League 2/División 5 = "Gold 1")
If are Gold add a Chatbox text that say "\pn are Gold 1 with \pv{points} points"
On Else (Cyan) add another conditional Branch for chek if player variable {divisions} are equal to 4 (Var. League 2/Divisions 4 = Gold 2)
Reply the steps to División 3,2 and 1
Below that insert other conditional for check if player variable {league} are 1
Reply the same steps from previous image
Put the trigger /command and add the command to call this event (On my case are /rank)
And now you have your own ranked system
For add more leagues or divisions only add more numbers to the 2nd Common event