View Single Post
06/22/17, 01:54 PM   #1
vvarderen
 
vvarderen's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 20
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!
  Reply With Quote