
Posts
602
Respect
52Add +1
Forum Rank
Zombie Enslaver
Primary Group
Box Mappers Elite
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!random_powerup_powerup()
{
while(isdefined(self))
{
powerup = get_next_powerup();
struct = level.zombie_powerups[powerup];
self SetModel( struct.model_name );
self.powerup_name = struct.powerup_name;
self.hint = struct.hint;
if( IsDefined( struct.fx ) )
self.fx = struct.fx;
wait 0.2; // change this to change the cycle time
}
}//powerup = powerup_setup(); if(randomint(100) < 20) // change the 20 to change the chance that this will appear, higher number = more chance to drop
powerup thread random_powerup_powerup();
what happens if get a randomized powerup when i get the randomized powerup?
