Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SpinOutHud(t)
- {
- SpunOut = self createFontString( "default", 2.5 );
- cosx = 0;
- cosy = 0;
- radius = 150;
- z = 0;
- SpunOut setText(t);
- // Since the text never changes you only have to set it once.
- // Also the waits can be combined into a wait .3
- for ( ;; )
- { xx = cosx + sin(z)*radius;
- yy = cosy + cos(z)*radius;
- SpunOut setPoint( "CENTER", "CENTER", xx, yy );
- SpunOut ChangeFontScaleOverTime( 0.3 );
- SpunOut.fontScale = 2.7;
- wait 0.3;
- SpunOut ChangeFontScaleOverTime( 0.3 );
- SpunOut.fontScale = 2.5;
- wait 0.3;
- z+=10;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement