Thursday, 2024-05-02, 11:50 PM


Main
Registration
Login
Welcome Guest | RSS  
[ New messages · Members · Forum rules · Search · RSS ]
  • Page 1 of 1
  • 1
Forum moderator: Hanky, Fireeye  
Clan NgO Forums » Discussions » Junk Yard » [vJASS] Small Text Tag system (Easy way of creating text tags)
[vJASS] Small Text Tag system
DynastiDate: Sunday, 2008-11-30, 3:34 PM | Message # 1
Private
Group: Users
Messages: 11
Reputation: 1
Status: Offline
Ok i have experienced that it is a pain in the ass to make text tags, so i made a simple function to be some help from time to time.

System Code:

Code
library TextTag

          function CreateTextTagEx takes real x, real y, real offset, string text, real size, integer red, integer green, integer blue, integer alpha, boolean perm, real fade, real life, real velAngle, real vel, boolean visible returns texttag
              local texttag t=CreateTextTag()
                    
              call SetTextTagText(t,text,(size * 0.023 / 10))
              call SetTextTagColor(t,red,green,blue,alpha)
              call SetTextTagPermanent(t,perm)
              call SetTextTagFadepoint(t,fade)
              call SetTextTagLifespan(t,life)
              call SetTextTagPos(t,x,y,offset)
              call SetTextTagVelocity(t,velAngle,vel)
              call SetTextTagVisibility(t,visible)

              return t
          endfunction

endlibrary

Realy easy to use if you want a moving text tag, example for GUI:

Added (2008-11-30, 3:34 Pm)
---------------------------------------------
Ok if someone of you have any ideas on how this could be better then please post it.


If you got it, then.. Yeah what do you get realy?

Message edited by Dynasti - Sunday, 2008-11-30, 3:02 AM
 
HankyDate: Monday, 2008-12-01, 5:37 PM | Message # 2
Lieutenant colonel
Group: Moderators
Messages: 116
Reputation: 9
Status: Offline
Hmm, it's to small for a system. Because it's just one function. But if you would add maybe functions like Moving Texts or something it would be maybe a really good system.


Made by Smoe reworked by GiR aka Darkt3mpl3r
 
DynastiDate: Monday, 2008-12-01, 7:47 PM | Message # 3
Private
Group: Users
Messages: 11
Reputation: 1
Status: Offline
Quote (Hanky)
Hmm, it's to small for a system. Because it's just one function. But if you would add maybe functions like Moving Texts or something it would be maybe a really good system.

know, but then it would be timers integers, 2D arrays etc. dunno how to make it xD


If you got it, then.. Yeah what do you get realy?
 
Clan NgO Forums » Discussions » Junk Yard » [vJASS] Small Text Tag system (Easy way of creating text tags)
  • Page 1 of 1
  • 1
Search:

Clan NgO © 2024Powered by uCoz