I have a waypoint system set up I would like to do, to move enemies around, without the pathfinding behavior.
When they collide with specific waypoints, it will change their direction based on a number value.
The problem is, I don't want it to always choose all 4 random numbers. Sometimes, I would want it to pick a random number out of 2 numbers, or 3 numbers, so how would I do that?
I know how to randomly generate the 4 numbers, but what would I do if I wanted it to set it to either 0, or 2? Or 1 and 4, or 0,1 and 4?
thanks!