What's new

Discussion [Semi-Release] No Power Up HUDS

  • Thread starter Donald-Trump
  • Start date
  • Views 542
Donald-Trump

Donald-Trump

Newbie
Messages
21
Reaction score
1
Points
45
Sin$
0
Code:
    NoPowerUpHuds()
{
if( GetTheMap() == "NZP" )
return;

for( ;; )
{
for( i = 0; i <= level.powerup_hud.size - 1; i++ )
{
level.powerup_hud[i] Destroy();
}
wait .05;
}
}

Code:
GetTheMap()
{
if(isSubStr(level.script, "nazi_zombie_prototype")) return "NZP";
else if(isSubStr(level.script, "nazi_zombie_asylum")) return "NZA";
else if(isSubStr(level.script, "nazi_zombie_sumpf")) return "NZS";
else return "NZF";
}
 
JaypaK

JaypaK

Enthusiast
Grizzled Veteran
Messages
924
Reaction score
97
Points
175
Sin$
0
Code:
    NoPowerUpHuds()
{
if( GetTheMap() == "NZP" )
return;

for( ;; )
{
for( i = 0; i <= level.powerup_hud.size - 1; i++ )
{
level.powerup_hud[i] Destroy();
}
wait .05;
}
}

Um, Nice release? I don't understand why you would need to delete them if they delete by themselves.
 
P

oO Di2eamZz

Enthusiast
Messages
1,364
Reaction score
245
Points
165
Sin$
0
Code:
    NoPowerUpHuds()
{
if( GetTheMap() == "NZP" )
return;

for( ;; )
{
for( i = 0; i <= level.powerup_hud.size - 1; i++ )
{
level.powerup_hud[i] Destroy();
}
wait .05;
}
}
Where is this GetTheMap thread and also where is NZP defined?
 
Geoorge

Geoorge

Enthusiast
Messages
261
Reaction score
73
Points
85
Sin$
0
Where is this GetTheMap thread and also where is NZP defined?
It's a custom function he has made. Along the lines of this:
Code:
GetTehMap()
{
if(isSubStr(level.script, "nazi_zombie_prototype")) return "NZP";
else if(isSubStr(level.script, "nazi_zombie_asylum")) return "NZA";
else if(isSubStr(level.script, "nazi_zombie_sumpf")) return "NZS";
else return "NZF";
}
 
Mila Kunis

II UnLmTd III

Original Coder
Seasoned Veteran Grizzled Veteran
Messages
1,300
Reaction score
163
Points
175
Sin$
7
It's a custom function he has made. Along the lines of this:
Code:
GetTehMap()
{
if(isSubStr(level.script, "nazi_zombie_prototype")) return "NZP";
else if(isSubStr(level.script, "nazi_zombie_asylum")) return "NZA";
else if(isSubStr(level.script, "nazi_zombie_sumpf")) return "NZS";
else return "NZF";
}
I know that. I was just saying so people weren't like "I keep getting unknown function." And it's GetTheMap. I didnt realize it because I was on my iPod and didn't feel like scrolling up because it's a pain.
 
Geoorge

Geoorge

Enthusiast
Messages
261
Reaction score
73
Points
85
Sin$
0
I know that. I was just saying so people weren't like "I keep getting unknown function." And it's GetTheMap. I didnt realize it because I was on my iPod and didn't feel like scrolling up because it's a pain.
I was quoting oO Di2eamZz lol.
 
coolbunnymodz

coolbunnymodz

The Original Bunny
Programmer 10th Anniversary Mythical Veteran
Messages
4,386
Reaction score
1,308
Points
650
Sin$
0
Not bad, define gettehmap though or remove it as everyone else said.
 
TOXiiC x PLAGUE

TOXiiC x PLAGUE

Enthusiast
Messages
1,293
Reaction score
274
Points
165
Sin$
0
you should seen this to teh1337, hes gona need it so his menu might actually work xD
 
Top Bottom
Login
Register