公开动态 #957047

Miscellany

公开 text v1 · 不可变
原始 编辑
·已发布 2008-03-25 19:11 UTC
渲染后的文本正文
/run local p,f,m,t=Minimap,CreateFrame"Frame"m,t=({p:GetChildren()})[49],p:CreateFontString(0,0,"SystemFont")t:SetPoint("TOP",0,-20)f:SetScript("OnUpdate",function()p=m:GetFacing()/PI%.5;t:SetText(format("\124cff%02xbb00%.3f",255*(1-abs(4*p-1)^92),p))end)