23.07.2016, 22:26
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
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