If you just copied the code, then you need to re-name "labelname" to the actual name of the label you're using.
[Edit]
Beaten by Smash
[Edit]
Beaten by Smash
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
void Fade(this GUI*, FadeStyle style)
{
if (style == eFadeIn)
{
this.Visible=true;
int i = this.Transparency;
SetTimer(20, 1);
while (i >= 0)
{
if (IsTimerExpired(20)){
this.Transparency = i;
i-=3;
SetTimer(20, 1);
}
}
}
else if (style == eFadeOut)
{
int i = this.Transparency;
SetTimer(20, 1);
while (i <= 100)
{
if (IsTimerExpired(20)){
this.Transparency = i;
i+=3; //if its too fast or slow change this number
SetTimer(20, 1);
}
}
this.Visible=false;
}
}
Quote from: R4L on Tue 12/08/2008 19:06:41
I agree. However, I think the first and second screenshots would be marvelous in game, like some sort of twisted reality like in the first LitN.
Quote from: Evil on Mon 11/08/2008 00:54:25
I agree with the animation thing. The fan animations look bad because the grain is on a loop. If the fan was filtered by itself it might look better. Like, trace out the fan, filter it, and layer it on the filtered background.
Quote from: Makeout Patrol on Sun 10/08/2008 08:00:24
If this doesn't work, the + sign is the problem. Look through the manual to see if you can find the operator that allows you to join Strings together.
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.093 seconds with 14 queries.