After a randomly chosen word from an array is chosen, How do I avoid it being chosen again; in other words, how do I remove it from the possibility of being randomly chosen twice?
Use permutation table feature of the AdvancedRandom plugin.
AdvancedRandom create permutation table with size Array.width
The first random word would be Array.at(AdvancedRandom.permutation(0))
The next word Array.at(AdvancedRandom.permutation(1))
And so on. They won't repeat.
Develop games in your browser. Powerful, performant & highly capable.
Like this?
No... I thought your array contained words? Why do you clear it?
See this example:
dropbox.com/scl/fi/zemsgxz3r9f8gq6164ocu/ArrayPermutationExample.c3p