So, i'm trying to make bandit AI hold a random weapon, as of now ALL AI hold tars.
Is there some type of random code i can use to make it a 50/50 thing?Code:guardGear6 = 101173;
So, i'm trying to make bandit AI hold a random weapon, as of now ALL AI hold tars.
Is there some type of random code i can use to make it a 50/50 thing?Code:guardGear6 = 101173;
switch(u_random(2)) {
default:
case 0: guardGear6 = 101173;
case 1: guardGear6 = 101082
};