Posts
588
Respect
658Add +1
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
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 which have been added to the UGX Map Manager. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
you are the best dude im making a map his name is daemons mine i want some help with secripting coues idont know every thing with scripting i just want some help with some things
Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
you are the best dude im making a map his name is daemons mine i wont some help with secripting coues idont every thing with scripting i just want some help with some things
Double Post Merge: October 03, 2016, 04:55:18 pm
Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. |
Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. |
mask_kills_tracker()
{
while(1)
{
self waittill("zom_kill");
level notify ("got_a_mask_kill");
//iprintlnbold("got a kill");
}
}
hat_ee()
{
flag_wait( "all_players_connected" );
helmet1 = GetEnt( "helmet1", "targetname" );
helmet1_ta = GetEnt( helmet1.target, "targetname" );
helmet1_ta hide();
helmet1 SetCursorHint( "HINT_NOICON" );
helmet1 UseTriggerRequireLookAt();
kills = 150; //kills required, feel free to edit
players = get_players();
for (i = 0; i < players.size; i++)
players thread mask_kills_tracker();
while(kills > 0)
{
level waittill("got_a_mask_kill");
kills -=1;
}
players = get_players();
for (i = 0; i < players.size; i++)
players playsound("laugh_child"); //play a sound to notify upon completion
helmet1_ta show();
helmet1 SetHintString( "Hold &&1 To Take" ); //the trigger will say this
while(1)
{
helmet1 waittill( "trigger", user );
if (isdefined(user.hatModel))
user detach( user.hatModel, "" );
user.hatModel = "char_usa_marine_wet_helm1"; //this is the helmet model, should match the one in radiant
user attach(user.hatModel);
user iprintlnbold("+40 Percent Resistance To All Damage"); //says this when picked up
}
}
helmet1 SetHintString( "Hold &&1 To Take" ); //the trigger will say this
while(1)
{
helmet1 waittill( "trigger", user );
if (isdefined(user.hatModel))
user detach( user.hatModel, "" );
user.hatModel = "char_usa_marine_wet_helm1"; //this is the helmet model, should match the one in radiant
user attach(user.hatModel);
user iprintlnbold("+40 Percent Resistance To All Damage"); //says this when picked up
}
}
Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
this is pretty much the same, unlocked the same and gives the same hat, you will need to script your own way of unlocking, change the hat and effect, to make more just copy + paste and change all the "2"s to "3"
dont have the free time to script in more so you'll have to do them yourself
this is pretty much the same, unlocked the same and gives the same hat, you will need to script your own way of unlocking, change the hat and effect, to make more just copy + paste and change all the "2"s to "3"
dont have the free time to script in more so you'll have to do them yourself
Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. |
This is a little late, but how do I make the reward be zombies ignore you on random occasions?