Yes, use fadeovertime.
hud.alpha = 0;
hud fadeOverTime(1);
hud.alpha = 1;
Done.
Yes, use fadeovertime.
hud.alpha = 0;
hud fadeOverTime(1);
hud.alpha = 1;
Done.
"Does not work" is an error report for a bug between keyboard and chair.
All hail Artie Effem
kung foo man (22nd March 2023),raphael (22nd March 2023)
It works great thank you very much
Does the code after fadeOverTime() get executed after it's amount is passed?
I'm not sure to understand, I have this code for something else:
Is wait (1); useless here?PHP Code:
self._welcomehud setText(&"Welcome");
self._welcomehud.fontScale = 1.3;
wait (2);
self._welcomehud fadeOverTime(1);
self._welcomehud.alpha = 0;
wait (1);
if (isdefined(self._welcomehud))
{
self._welcomehud destroy();
}
If I try to remove it and the hud still gets destroyed after 1sec, I will tell
kung foo man (22nd March 2023)