Posts
143
Respect
46Add +1
Forum Rank
Pack-a-Puncher
Primary Group
Member
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!#include common_scripts\utility;
#include maps\_utility;
#include maps\_zombiemode_utility;
#include maps\_anim;
main()
{
flag_wait("all players connected");
players = get_players();
level.zombie_cost = players.size * 200;
thread generator_process_jug();
}
generator_process_jug()
{
while(1)
{
button_jug_trig = getEnt("button_jug_trig", "targetname");
button_jug_trig SetCursorHint( "HINT_NOICON" );
button_jug_trig SetHintString("Press &&1 to activate the generator [Cost:" + level.zombie_cost + "]);
activator = undefined;
button_jug_trig waittill("trigger", activator);
if (activator.score >= level.zombie_cost)
{
button_jug_trig disable_trigger();
activator.score = activator.score - level.zombie_cost;
jug_timer = create_simple_hud();
jug_timer.foreground = true;
jug_timer.sort = 4;
jug_timer.hidewheninmenu = false;
jug_timer.alignX = "left";
jug_timer.alignY = "top";
jug_timer.horzAlign = "left";
jug_timer.vertAlign = "top";
jug_timer.fontScale = 1.5;
jug_timer.x = 5;
jug_timer.y = 5;
jug_timer.color = (1,0,0);
jug_timer setTimer(12);
level.custom_jug_timer = jug_timer;
wait(12);
level notify("juggernog on");
jug_timer destroy();
break;
}
else
{
wait(0.05);
}
}
}![]() | |
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() Box Mappers Elite | |
![]() | Has released one or more maps to the UGX-Mods community. |
![]() | Has the ability to mute, kick, or ban chat members for being abusive or breaking the rules of the forum. |
![]() | Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms. |
![]() | |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
flag_wait("all players connected");