How to make player randomiser?

How to make player randomiser?

Postby Unreal engine 4 » 18 May 2020, 07:47

I wanted to make an mini game where you have to hack 30 computers and escape the factility
But theres an problem, i need an player randomizer that will choose one player as a beast (red team)
And i wanted to add Skin randomizer that will change any player's skin (exception: beast)
Every time - random skin.
and every time - one player will become an beast.
If you guys help, then i credit you in my map.
https://prnt.sc/wcyjpo
You know, you feel better if you know someone loves you. Even it if its a boy.

Unreal engine 4
Cyber Grub [25]
 
Posts: 29
Joined: 19 April 2020, 08:04

Re: How to make player randomiser?

Postby jeje52 » 18 May 2020, 15:23

I made a player randomizer a while ago. The map is open-source and most of it is explained in the source.
In your case, you would have to add exceptions to prevent the same player from being picked twice. Just set a variable every time a player is picked and add an exception to #randomPlayer.exception
Tell me if you have any problems with it.
Map link: https://www.plazmaburst2.com/?s=9&a=&m= ... &id=976997
User avatar
jeje52
Civil Security Lite [100]
 
Posts: 146
Joined: 13 April 2018, 19:52


Return to Bug Reporting Archive

Who is online

Users browsing this forum: No registered users