Dead Palace
Posts
76
Respect
11Add +1
Forum Rank
Rotting Walker
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!what do you mean by speciality_ordinance? a perk, or like mortars or monkey bombs?


paypal.me/F3ARxReaper666![]() | 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. |
minus_to_player_score( cost )
self set_player_score_hud();
if(!isdefined(self.total_spent))
self.total_spent = 0;
self.total_spent += cost;
if(!isdefined(self.hasreceived))
self.hasreceived = false;
if(self.total_spent >= 25000 && !self.hasreceived)
{
self setperk("speciality_ordinance");
self.hasreceived = true;
}
in _zombiemode_score.gsc findand under Code SnippetPlaintextminus_to_player_score( cost )place Code SnippetPlaintextself set_player_score_hud();not tested but this should make you receive the speciality_ordinance, it wont make a perk icon and shouldnt be lost when dead (you didnt specify that) Code SnippetPlaintextif(!isdefined(self.total_spent))
self.total_spent = 0;
self.total_spent += cost;
if(!isdefined(self.hasreceived))
self.hasreceived = false;
if(self.total_spent >= 25000 && !self.hasreceived)
{
self setperk("speciality_ordinance");
self.hasreceived = true;
}
Thanks a lot, and how could I add the shader and have it be lost when downed?
![]() | 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. |
self setperk("speciality_ordinance");self maps\_zombiemode_perks::give_perk( "speciality_ordinance" );replacewith Code SnippetPlaintextself setperk("speciality_ordinance"); Code SnippetPlaintextself maps\_zombiemode_perks::give_perk( "speciality_ordinance" );
I added
playsound("mission_success");
printlnbold("Challenge Completed");
printlnbold("Spent 25000 Points");
underneath the
self setperk("specialty_detectexplosive");
self.hasreceived = true;
and it gives an error. Sorry about the million questions but how do I make a sound and println notifying that you completed the challenge?