n00b in LUA need help :)
Hi! It's me :)
How i make this timer for : if (time == 1) then myTexture:SetHidden(false) myTexture:SetAlpha(0.9) if (time == 2) then myTexture:SetAlpha(0.6) if (time == 3) then myTexture:SetAlpha(0.3) if (time == 4) then myTexture:SetAlpha(0.1) if (time == 5) then myTexture:SetHidden(true) end time == X x are secondes Thank you! |
Does this help?
|
I must admit I dont even understand what you are trying to do. Could you describe it without code?
|
As time passes he wants something to become more and more transparent until it disappears.
|
Hi.
You have to look at the ANIM_MANAGER: There are fade animations already. You could register to OnStop of the timeline to do SetHidden. Or you can do nearly everything on your own. Like this: Lua Code:
You may do a text search for ANIM_MANAGER or GetAnimationManager() |
thank all for your help :)
|
All times are GMT -6. The time now is 07:21 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI