ProgrammingNeed help with GSC Coding...
Posted:
ProgrammingNeed help with GSC Coding...Posted:
Status: Offline
Joined: Sep 06, 20168Year Member
Posts: 4
Reputation Power: 0
Status: Offline
Joined: Sep 06, 20168Year Member
Posts: 4
Reputation Power: 0
dog_round_tracker()
At the level.next_dog_round = level.round_number + randomintrange( 4, 6 ); This function means i get a 4 or a 5 rounder of dogs at a random, If I change this code for example ( 4, 5 ) that would always give me a 4 rounder. I wanna know a method to change this with percentages, for example I want in 90% a 4 rounder and in 10% a 5 rounder, can you teach me how to do it? I tried to put 5 && 10 && 14 && 19 && 23 ... etc put that method to pre set the dogs in game doesnt work! Im pretty sure you know how to do it, can you give me some help? |
#2. Posted:
Status: Offline
Joined: Sep 06, 20168Year Member
Posts: 4
Reputation Power: 0
Status: Offline
Joined: Sep 06, 20168Year Member
Posts: 4
Reputation Power: 0
I also would prefer a way to change the coding that I can pre set all the dogs that I want for example in my match If I want 7,11,15,19,24,29,34,39,44,48 how Can I make the code to set that up? |
- 0useful
- 0not useful
Users browsing this topic: None