| 05-23-2006, 02:37 PM | #1 |
I seem to have problems with Transparency and fading of texttags... What I want to accomplish is a text that would fade IN slowly and fade out slowly... either Display Text or Floating Text. But all the text_tags do is to appear and disappear instantly ...even though I set the "alphacodes" and fading time... Am I doing something wrong? |
| 05-23-2006, 05:44 PM | #2 |
JASS:function FadingText takes string msg, integer red, integer green, integer blue, real x, real y, real spd, real fadetime, real life returns nothing local texttag t=CreateTextTag() call SetTextTagText(t,msg,0.024) call SetTextTagPos(t,x,y, 0.00) call SetTextTagColor(t,red,green,blue,255) call SetTextTagVelocity(t,0,spd) call SetTextTagVisibility(t, true) call SetTextTagFadepoint(t, fadetime) call SetTextTagLifespan(t, life) call SetTextTagPermanent(t, false) set t=null endfunction |
| 05-23-2006, 06:56 PM | #3 | |
Quote:
|
| 05-23-2006, 07:01 PM | #4 | ||
Quote:
Yea lol, thats what i was thinking. To be honest Sharingan, you would need to use timers, handle vars and some Jass knowledge |
| 05-23-2006, 07:04 PM | #5 |
Huh? That function does fade in, doesn't it? |
| 05-23-2006, 07:07 PM | #6 |
No, it only fades out. |
| 05-23-2006, 10:59 PM | #7 |
Hmm, actually, i was also wondering wether it's possible to use Displayed Texts... |
