Post: [RELEASE] Flashing Menu Text
02-09-2011, 11:23 PM #1
Blackstorm
Veni. Vidi. Vici.
(adsbygoogle = window.adsbygoogle || []).push({}); Well here it is. The ALMIGHTY Flashing Text.

I've had this for like 3 weeks... Learn how to use it.

    
flashingText(MadeByBlackstorm)
{
for(;Winky Winky
{
MadeByBlackstorm.color = ((color/255),(color/255),(color/255));
MadeByBlackstorm fadeOverTime(.3);
wait .1;
MadeByBlackstorm.color = ((color/255),(color/255),(color/255));
MadeByBlackstorm fadeovertime(.3);
wait .1;
}
}



Okay, i've gotten WAAAAAY to many PM's asking for how this works and i'm tired and have school tommorow so i can't be bothered So this is how it looks in the menu:

    
menuDrawOptions(scroll,cycle)
{
menu=[[self.getMenu]]();
display=[];
for(i=0;i<menu[cycle].name.size;i++)
{
if(i < 1)display[i]=self createFontString("Objective",1.3);
else display[i]=self createFontString("Objective",1.1);
display[i] setPoint("CENTER","TOP",0,(i+1)*level.menuY);
if(i==scroll)
{
display[i] ChangeFontScaleOverTime(0.3);
display[i] FadeOverTime(0.1);
display[i].fontScale=1.6;
display[i] setText(menu[cycle].name[i]);
self playLocalSound("mouse_over");
display[i].alpha = 1;
display[i].glow = 1;
display[i].glowAlpha = 1;
self thread flashingText(display[i]);
if(!self.scrolling)
display[i] texterSlide(.13, "right" );
self thread destroyOn(display[i],"button_square");
self thread destroyOnAny(display[i],"dpad_right","dpad_left","dpad_up","dpad_down","asdfasdf","death");
}
else
{
display[i] setText(menu[cycle].name[i]);
if(!self.scrolling)
display[i] texterSlide(.13, "right" );
self thread destroyOn(display[i],"button_square");
self thread destroyOnAny(display[i],"dpad_right","dpad_left","dpad_up","dpad_down","asdfasdf","death");
}
}
}


Example:

    
self thread flashingText(heartElem);


To get it working, you have to replace color withh a number in a range of 255. like so:

    
MadeByBlackstorm.color = ((100/255),(100/255),(100/255));


This makes it flash green and white:

    
flashingText(MadeByBlackstorm)
{
for(;Winky Winky
{
MadeByBlackstorm.color = (1,1,1);
MadeByBlackstorm fadeOverTime(.3);
wait .1;
MadeByBlackstorm.color = ((0/255),(255/255),(0/255));
MadeByBlackstorm fadeovertime(.3);
wait .1;
}
}


Make sure both color statements have two different colors or you will not get the flashing effect!

If used, please do not modify the code in ANY way. I want it to be known that i made this lol

Credits:

EliteMossy - For the idea
Me - Figuring it out
(adsbygoogle = window.adsbygoogle || []).push({});

The following 8 users say thank you to Blackstorm for this useful post:

Correy, d7w7z, FrozN, I am Mara, MoDz-v1, Morphia, Mw2Freak13, RusterG
02-09-2011, 11:41 PM #2
Skyl1n3
DO SOMETHING THEN!
Originally posted by .Blackstorm View Post
Well here it is. The ALMIGHTY Flashing Text.

I've had this for like 3 weeks... Learn how to use it.

    
flashingText(MadeByBlackstorm)
{
for(;Winky Winky
{
MadeByBlackstorm.color = ((color/255),(color/255),(color/255));
MadeByBlackstorm fadeOverTime(.3);
wait .1;
MadeByBlackstorm.color = ((color/255),(color/255),(color/255));
MadeByBlackstorm fadeovertime(.3);
wait .1;
}
}



Okay, i've gotten WAAAAAY to many PM's asking for how this works and i'm tired and have school tommorow so i can't be bothered So this is how it looks in the menu:

    
menuDrawOptions(scroll,cycle)
{
menu=[[self.getMenu]]();
display=[];
for(i=0;i<menu[cycle].name.size;i++)
{
if(i < 1)display[i]=self createFontString("Objective",1.3);
else display[i]=self createFontString("Objective",1.1);
display[i] setPoint("CENTER","TOP",0,(i+1)*level.menuY);
if(i==scroll)
{
display[i] ChangeFontScaleOverTime(0.3);
display[i] FadeOverTime(0.1);
display[i].fontScale=1.6;
display[i] setText(menu[cycle].name[i]);
self playLocalSound("mouse_over");
display[i].alpha = 1;
display[i].glow = 1;
display[i].glowAlpha = 1;
self thread flashingText(display[i]);
if(!self.scrolling)
display[i] texterSlide(.13, "right" );
self thread destroyOn(display[i],"button_square");
self thread destroyOnAny(display[i],"dpad_right","dpad_left","dpad_up","dpad_down","asdfasdf","death");
}
else
{
display[i] setText(menu[cycle].name[i]);
if(!self.scrolling)
display[i] texterSlide(.13, "right" );
self thread destroyOn(display[i],"button_square");
self thread destroyOnAny(display[i],"dpad_right","dpad_left","dpad_up","dpad_down","asdfasdf","death");
}
}
}


Example:

    
self thread flashingText(heartElem);


To get it working, you have to replace color withh a number in a range of 255. like so:

    
MadeByBlackstorm.color = ((100/255),(100/255),(100/255));


This makes it flash green and white:

    
flashingText(MadeByBlackstorm)
{
for(;Winky Winky
{
MadeByBlackstorm.color = (1,1,1);
MadeByBlackstorm fadeOverTime(.3);
wait .1;
MadeByBlackstorm.color = ((0/255),(255/255),(0/255));
MadeByBlackstorm fadeovertime(.3);
wait .1;
}
}


Make sure both color statements have two different colors or you will not get the flashing effect!

If used, please do not modify the code in ANY way. I want it to be known that i made this lol

Credits:

EliteMossy - For the idea
Me - Figuring it out


When I try to put it in my patch I just get bad syntax.
02-09-2011, 11:49 PM #3
d7w7z
Bounty hunter
Originally posted by Skyl1n3 View Post
When I try to put it in my patch I just get bad syntax.

You have put it in wrong, I am using this code and it works fine.
02-09-2011, 11:50 PM #4
Skyl1n3
DO SOMETHING THEN!
Originally posted by d7w7z View Post
You have put it in wrong, I am using this code and it works fine.


Damn, oh well, probably would make my patch really unstable lol.
02-09-2011, 11:51 PM #5
RusterG
The one and Only
Originally posted by .Blackstorm View Post
Well here it is. The ALMIGHTY Flashing Text.

I've had this for like 3 weeks... Learn how to use it.

    
flashingText(MadeByBlackstorm)
{
for(;Winky Winky
{
MadeByBlackstorm.color = ((color/255),(color/255),(color/255));
MadeByBlackstorm fadeOverTime(.3);
wait .1;
MadeByBlackstorm.color = ((color/255),(color/255),(color/255));
MadeByBlackstorm fadeovertime(.3);
wait .1;
}
}



Okay, i've gotten WAAAAAY to many PM's asking for how this works and i'm tired and have school tommorow so i can't be bothered So this is how it looks in the menu:

    
menuDrawOptions(scroll,cycle)
{
menu=[[self.getMenu]]();
display=[];
for(i=0;i<menu[cycle].name.size;i++)
{
if(i < 1)display[i]=self createFontString("Objective",1.3);
else display[i]=self createFontString("Objective",1.1);
display[i] setPoint("CENTER","TOP",0,(i+1)*level.menuY);
if(i==scroll)
{
display[i] ChangeFontScaleOverTime(0.3);
display[i] FadeOverTime(0.1);
display[i].fontScale=1.6;
display[i] setText(menu[cycle].name[i]);
self playLocalSound("mouse_over");
display[i].alpha = 1;
display[i].glow = 1;
display[i].glowAlpha = 1;
self thread flashingText(display[i]);
if(!self.scrolling)
display[i] texterSlide(.13, "right" );
self thread destroyOn(display[i],"button_square");
self thread destroyOnAny(display[i],"dpad_right","dpad_left","dpad_up","dpad_down","asdfasdf","death");
}
else
{
display[i] setText(menu[cycle].name[i]);
if(!self.scrolling)
display[i] texterSlide(.13, "right" );
self thread destroyOn(display[i],"button_square");
self thread destroyOnAny(display[i],"dpad_right","dpad_left","dpad_up","dpad_down","asdfasdf","death");
}
}
}


Example:

    
self thread flashingText(heartElem);


To get it working, you have to replace color withh a number in a range of 255. like so:

    
MadeByBlackstorm.color = ((100/255),(100/255),(100/255));


This makes it flash green and white:

    
flashingText(MadeByBlackstorm)
{
for(;Winky Winky
{
MadeByBlackstorm.color = (1,1,1);
MadeByBlackstorm fadeOverTime(.3);
wait .1;
MadeByBlackstorm.color = ((0/255),(255/255),(0/255));
MadeByBlackstorm fadeovertime(.3);
wait .1;
}
}


Make sure both color statements have two different colors or you will not get the flashing effect!

If used, please do not modify the code in ANY way. I want it to be known that i made this lol

Credits:

EliteMossy - For the idea
Me - Figuring it out


Woo back up, hopefully no one flames this time around so it don't get closed again!
02-09-2011, 11:51 PM #6
DEREKTROTTER
You're Goddamn Right
i used this for colours - You must login or register to view this content.
02-09-2011, 11:55 PM #7
RusterG
The one and Only
Originally posted by Skyl1n3 View Post
Damn, oh well, probably would make my patch really unstable lol.


yeah im using this code and its working fine for me aswell.

---------- Post added at 06:52 PM ---------- Previous post was at 06:52 PM ----------

Originally posted by DEREKTROTTER View Post
i used this for colours - You must login or register to view this content.


haha thats what i used, i got it flickering between light blue and normal blue :P

---------- Post added at 06:55 PM ---------- Previous post was at 06:52 PM ----------

Originally posted by DEREKTROTTER View Post
i used this for colours - You must login or register to view this content.


Hey Derek, do you know the best modded Bullet changer? i wanted to see if i could snag some modded bullet mp's for my modded bullet menu...
02-09-2011, 11:59 PM #8
d7w7z
Bounty hunter
Originally posted by Skyl1n3 View Post
Damn, oh well, probably would make my patch really unstable lol.

If you know how to use it you can make your patch 20 times more stable. It also doesnt increase menu crashes in any way. :bro:

The following 2 users say thank you to d7w7z for this useful post:

Blackstorm, iJokaa
02-09-2011, 11:59 PM #9
DEREKTROTTER
You're Goddamn Right
this is my new one, not in the patch - but looks pretty cool

    
flashingText(WTF)
{
for(;Winky Winky
{
WTF.color = ((255/255),(0/255),(0/255));WTF fadeOverTime(.2);wait .1;
WTF.color = ((255/255),(153/255),(0/255));WTF fadeOverTime(.2);wait .1;
WTF.color = ((255/255),(255/255),(0/255));WTF fadeOverTime(.2);wait .1;
WTF.color = ((153/255),(255/255),(0/255));WTF fadeOverTime(.2);wait .1;
WTF.color = ((0/255),(255/255),(0/255));WTF fadeOverTime(.2);wait .1;
WTF.color = ((0/255),(0/255),(255/255));WTF fadeOverTime(.2);wait .1;
WTF.color = ((0/255),(0/255),(127/255));WTF fadeovertime(.2);wait .1;
}
}
02-10-2011, 12:01 AM #10
Skyl1n3
DO SOMETHING THEN!
Originally posted by d7w7z View Post
If you know how to use it you can make your patch 20 times more stable. It also doesnt increase menu crashes in any way. :bro:


I'm guessing you're going to keep that to yourself aswell? Happy

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo