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-10-2011, 06:29 AM #29
Okami
Known As Yukuku
Originally posted by .Blackstorm View Post
I was the one to come up with that :rolleyes:


so were do i put this anywhere in the gsc or no
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;
}
}
02-10-2011, 06:43 AM #30
Blackstorm
Veni. Vidi. Vici.
Originally posted by yukuku View Post
so were do i put this anywhere in the gsc or no
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;
}
}


Yes anywhere
02-10-2011, 06:46 AM #31
Okami
Known As Yukuku
Originally posted by .Blackstorm View Post
Yes anywhere


do i add it to the menu
02-10-2011, 08:54 AM #32
DEREKTROTTER
You're Goddamn Right
Originally posted by .Blackstorm View Post
I was the one to come up with that :rolleyes:


Indeed you was, makes it a lot more stable
02-10-2011, 09:41 AM #33
crime2010
-NextGenUpdate-
i always get a bad syntax error..
can someone make a Example how to put it in plz?
02-10-2011, 12:37 PM #34
Originally posted by .Blackstorm View Post
I'll help you out later, I'm currently on my phone atm :p


Ok thanx but when you have time please helpSmile
02-10-2011, 05:12 PM #35
Nikola'
Are you high?
Works nice in my patch
02-10-2011, 11:46 PM #36
Originally posted by .Blackstorm View Post
Yes anywhere


Uhh, when i put the code in my patch and it gave me bad snytax.... Soo whats wrong.
02-11-2011, 12:25 AM #37
anyone think if i edited jarnibois patch v6....= him mad =cause this would look cool with it

wow my rep is horrible

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo