Macil @macil.tech · Feb 1

Visual scripting systems are kind of neat but whenever there's 5+ items I think code as text would be clearer. Try spotting the bug in this Halo Infinite script for shuffling the teams after each round that causes the teams to not always be balanced:

2 likes 2 replies

?

Replies

Macil · Feb 1

The script starts at the top left, checks it's not the first round, gets the list of all (non-bot) players, also makes a random list of half of the players, iterates over all of the players, and then checks to see if they're in the random list to choose which team to put them in.

ג'ורג' הספרן (mikwee) =w= · Feb 1

I just love the aesthetics of node interfaces