Results 1 to 4 of 4
  1. #1
    Member Kondra's Avatar
    Join Date
    Dec 2014
    Location
    C:\Users\Kondra>
    Posts
    132
    Points
    316
         User Info     Contact     Gamer ID
    Join Date
    Dec 2014
    Location
    C:\Users\Kondra>
    Posts
    132
    Points
    316

    Contact info:

    Youtube Channel: http://www.youtube.com/

    Default [SC7E52] *NEW* flashing hostname (user controlled)

    Made this and thought I'd release it. What this is, is a flashing Host name script that changes the location of the text everytime you press right on the D-Pad. Text is also rainbow and flashy c:

    Add this to on player connected or into your mod menu as a function.
    Code:
    self thread Flashing_HostName(level.hostname);
    Script
    Code:
    Flashing_HostName(text)
    {
    	self notifyOnPlayerCommand("changetext", "+actionslot 4");
    	for(i = 0; i < 3;)
    	{
    		self waittill("changetext");
    		r = randomint( 255 );
    		g = randomint( 255 );
    		b = randomint( 255 );
    		x = randomintrange(1,150);
    		y = randomintrange(1,150);
    		Message = self createFontString( "objective", 1.5 );
    		Message setPoint( "CENTER", "CENTER", x, y );
    		Message.glow = 1;
    		Message.glowColor = ( 2, 4, 6 );
    		Message.textColor = ( (r/255), (g/255), (b/255) );
    		Message.glowAlpha = 1; 
    		Message setText(text);
    		i++;
    		wait 0.05;
    	}
    }

    0 Not allowed! Not allowed!

  2. #2
    Nintendo Section Moderator PvtRyan's Avatar

    Badge

    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,586
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,586
    Gamer IDs

    PSN ID: gamer_pvtryan Steam ID: pvtryan_cl Wii Code: PvtRyan

    Contact info:

    Youtube Channel: http://www.youtube.com/xPvtRyanx

    Default

    Quote Originally Posted by Arctic View Post
    Made this and thought I'd release it. What this is, is a flashing Host name script that changes the location of the text everytime you press right on the D-Pad. Text is also rainbow and flashy c:

    Add this to on player connected or into your mod menu as a function.
    Code:
    self thread Flashing_HostName(level.hostname);
    Script
    Code:
    Flashing_HostName(text)
    {
    	self notifyOnPlayerCommand("changetext", "+actionslot 4");
    	for(i = 0; i < 3; i++)
    	{
    		self waittill("changetext");
    		r = randomint( 255 );
    		g = randomint( 255 );
    		b = randomint( 255 );
    		x = randomintrange(1,150);
    		y = randomintrange(1,150);
    		Message = self createFontString( "objective", 1.5 );
    		Message setPoint( "CENTER", "CENTER", x, y );
    		Message.glow = 1;
    		Message.glowColor = ( 2, 4, 6 );
    		Message.textColor = ( (r/255), (g/255), (b/255) );
    		Message.glowAlpha = 1; 
    		Message setText(text);
    		i++;
    		wait 0.05;
    	}
    }
    ^Here's what I would touch up, but I must ask, why have it loop only 3 times?

    0 Not allowed! Not allowed!


    PS4 Profile:

  3. #3
    Member Kondra's Avatar
    Join Date
    Dec 2014
    Location
    C:\Users\Kondra>
    Posts
    132
    Points
    316
         User Info     Contact     Gamer ID
    Join Date
    Dec 2014
    Location
    C:\Users\Kondra>
    Posts
    132
    Points
    316

    Contact info:

    Youtube Channel: http://www.youtube.com/

    Default

    Because if You loop it a bunch of times, it, will go off the screen unless you manually set the coordinates to be inside the screen. (Which i didn't bother with) So I lowered it to 3 so the chances of it going off the screen are low. Easy to edit.

    0 Not allowed! Not allowed!

  4. #4
    Nintendo Section Moderator PvtRyan's Avatar

    Badge

    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,586
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,586
    Gamer IDs

    PSN ID: gamer_pvtryan Steam ID: pvtryan_cl Wii Code: PvtRyan

    Contact info:

    Youtube Channel: http://www.youtube.com/xPvtRyanx

    Default

    I'm pretty sure this will work, but I will leave a note to actually test this out, just looking at the coding though lets me second guess myself.

    0 Not allowed! Not allowed!


    PS4 Profile:

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -10. The time now is 02:45 PM.
Powered by vBulletin®
Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.