Randomize a few players [+REP]
#1

Hello everyone!
I made a zombie arena and I would like to randomize zombies.
The zombies count should fit the total amount of the players in the arena
I don't care if it would work on precents or defined manually I just want it to work :P
for example randomizing 33% of the players in the arena to become zombies.

OR

if TotalCount == 2 then randomize 1 zombie
if TotalCount == 3 then randomize 1 zombie
if TotalCount == 4 then randomize 2 zombies
if TotalCount == 5 then randomize 2 zombies
if TotalCount == 6 then randomize 3 zombies
if TotalCount == 7 then randomize 3 zombies
if TotalCount == 8 then randomize 4 zombies
etc...

IMPORTANT NOTE: If you would randomize 4 times 1 player it might randomize the same player a few times which I don't want to happen so pls dont show me a way to randomize 1 player each time XD
Reply


Messages In This Thread
Randomize a few players [+REP] - by Lirbo - 23.07.2016, 22:26
Re: Randomize a few players [+REP] - by Threshold - 24.07.2016, 02:14
Re: Randomize a few players [+REP] - by WhiteGhost - 24.07.2016, 02:35
Re: Randomize a few players [+REP] - by Crayder - 24.07.2016, 02:43
Re: Randomize a few players [+REP] - by Threshold - 24.07.2016, 03:25
Re: Randomize a few players [+REP] - by SickAttack - 24.07.2016, 05:46
Re: Randomize a few players [+REP] - by Crayder - 24.07.2016, 06:17
Re: Randomize a few players [+REP] - by SickAttack - 24.07.2016, 07:01
Re: Randomize a few players [+REP] - by Crayder - 24.07.2016, 15:04
Re: Randomize a few players [+REP] - by SickAttack - 24.07.2016, 22:09

Forum Jump:


Users browsing this thread: 2 Guest(s)