


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!

![]() | Has released one or more maps to the UGX-Mods community. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
So I'm making a map and its going pretty well... I have put in a lot of stuff but I want to learn how to make a boss such as the napalm zombie and later on when I learn enough the panzer...
Please don't tell me to go just learn c++ because i already know that i need that.
If someone could help me or point me in the right direction I would be very greatfull!
![]()
//thread this when you want to spawn a zombie
SpawnBoss(){
damage = 50;
distancehurt = 666;
bosses = GetEntArray("napalmboss", "targetname");//spawner kvps
boss = bosses[0];//this for now to spawn the boss, decide if more spawns later
zombie = spawn_zombie( boss );
zombie.zombie_move_speed = "walk";
zombie.animname = "boss_zombie";
zombie.health = 50000;
zombie.maxhealth = 50000;
zombie.gibbed = true;
while(IsAlive( zombie )){
players = getplayers( );
array_thread( players,::BurnThem,zombie,damage,distancehurt );
wait(1);
}
}
BurnThem(zombie,damage,distancehurt){
zombie endon("death");
if(is_player_valid( self ) & Distance( self.origin,zombie.origin )<distancehurt){
self SetBurn( 1 );
if(self.health>damage) self DoDamage( damage, self.origin, zombie, zombie );
else radiusdamage(self.origin, distancehurt, damage, 5, zombie);
}
}