Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Diehard xBEASTx's Avatar
    Join Date
    Nov 2011
    Location
    Moving to L.A.
    Posts
    550
    Points
    1,114
         User Info     Contact     Gamer ID
    Join Date
    Nov 2011
    Location
    Moving to L.A.
    Posts
    550
    Points
    1,114
    Gamer IDs

    PSN ID: xB34STLYS0ULx

    Contact info:

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

    Default Help - Is this written right?

    Code:
    onPlayerSpawned()
    {
    	self endon( "disconnect" );
    	
    	for(;;)
    	{
    		self waittill( "spawned_player" );
    
                    self setMoveSpeedScale( 2.0 );  
    
    		self thread giveGun();
    		self thread maxAmmo();
    		self thread healthBar
    	}
    }
    If not, where would I put self setMoveSpeedScale( 2.0 ); ?

    0 Not allowed! Not allowed!
    I love AIDS.

  2. #2
    Diehard [TGOD]L!V!NG_D3@D's Avatar
    Join Date
    Sep 2011
    Posts
    673
    Points
    535
         User Info     Contact     Gamer ID
    Join Date
    Sep 2011
    Posts
    673
    Points
    535

    Default

    i dont know but as far as i thnk it looks good

    0 Not allowed! Not allowed!

  3. #3
    Diehard xBEASTx's Avatar
    Join Date
    Nov 2011
    Location
    Moving to L.A.
    Posts
    550
    Points
    1,114
         User Info     Contact     Gamer ID
    Join Date
    Nov 2011
    Location
    Moving to L.A.
    Posts
    550
    Points
    1,114
    Gamer IDs

    PSN ID: xB34STLYS0ULx

    Contact info:

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

    Default

    I think it is correct, I just need to confirm it, I'm pretty sure Ellijah or one of them might know, it looks right though, I just have a doubt for some reason.

    0 Not allowed! Not allowed!
    I love AIDS.

  4. #4
    Wii U Section Moderator
    Computer Engineer
    MrOwnership's Avatar

    Badge

    Join Date
    Jun 2011
    Location
    Maryland
    Posts
    1,435
    Points
    2,862
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Location
    Maryland
    Posts
    1,435
    Points
    2,862
    Gamer IDs

    Steam ID: MrOwnership Wii Code: MrOwnership

    Default

    i dont see anything wrong with it, other than the healthbar not having a "();" at the end

    0 Not allowed! Not allowed!

  5. #5
    Diehard [TGOD]L!V!NG_D3@D's Avatar
    Join Date
    Sep 2011
    Posts
    673
    Points
    535
         User Info     Contact     Gamer ID
    Join Date
    Sep 2011
    Posts
    673
    Points
    535

    Default

    Quote Originally Posted by MrOwnership View Post
    i dont see anything wrong with it, other than the healthbar not having a "();" at the end
    oh yeah i didnt notice tht u need (); at the end of the do health bar

    0 Not allowed! Not allowed!

  6. #6
    Diehard xBEASTx's Avatar
    Join Date
    Nov 2011
    Location
    Moving to L.A.
    Posts
    550
    Points
    1,114
         User Info     Contact     Gamer ID
    Join Date
    Nov 2011
    Location
    Moving to L.A.
    Posts
    550
    Points
    1,114
    Gamer IDs

    PSN ID: xB34STLYS0ULx

    Contact info:

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

    Default

    Thank you! I will see how it turns out, I'm using this for my new gametype

    0 Not allowed! Not allowed!
    I love AIDS.

  7. #7
    1010010011010101101001
    Austin .'s Avatar
    Join Date
    May 2011
    Location
    Where the Green Grass Grows. <3
    Posts
    4,830
    Points
    2,134
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Location
    Where the Green Grass Grows. <3
    Posts
    4,830
    Points
    2,134
    Gamer IDs

    PSN ID: x-CrimsoN-x21

    Contact info:

    Youtube Channel: http://www.youtube.com/user/xCrimmYx?feature=mhee

    Default

    Uhm... hopefully this isn't the whole thing? Self threadHealbar won't do anything, it tells the game to read the statement healthbar, its not what makes the health bar. I.e.

    Onplayerspawned
    {
    Self thread Healthbar
    }
    Healthbar()
    //whatever healthbar is

    Bad syntax but I'm on my phone.

    0 Not allowed! Not allowed!

    1v1 (as of June) :
    Wins: 2 Losses: 0
    We accept the love we think we deserve.

  8. #8
    Diehard xBEASTx's Avatar
    Join Date
    Nov 2011
    Location
    Moving to L.A.
    Posts
    550
    Points
    1,114
         User Info     Contact     Gamer ID
    Join Date
    Nov 2011
    Location
    Moving to L.A.
    Posts
    550
    Points
    1,114
    Gamer IDs

    PSN ID: xB34STLYS0ULx

    Contact info:

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

    Default

    I have the scripts. i know it should be
    Code:
    onPlayerSpawned()
    {
              self thread healthBar();
    }
    
    healthBar()
    {
            self.healthBar = self createBar( ( 1, 0, 0 ), 120, 9 );
            self.healthBar setPoint( "CENTER", "TOP", 0, 8 );
            self.healthText = self createFontString( "objective", 1.4 );
            self.healthText setPoint( "CENTER", "TOP", 0, -3 );
            self.healthText setText( "^5Health");
                    
            for(;;)
            {
                    self.healthBar updateBar( self.health / self.maxhealth );
                    wait 0.5;
            }
    }
    The only thing I need to know is if the speed thing is in the right place.

    0 Not allowed! Not allowed!
    I love AIDS.

  9. #9
    Tig O Bitties
    Grey's Avatar
    Join Date
    May 2011
    Location
    Candy Mountain
    Posts
    2,935
    Points
    2,964
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Location
    Candy Mountain
    Posts
    2,935
    Points
    2,964

    Contact info:

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

    Default

    yeh as long as it is activated correctly the speed thing will work

    0 Not allowed! Not allowed!

  10. #10
    Diehard xBEASTx's Avatar
    Join Date
    Nov 2011
    Location
    Moving to L.A.
    Posts
    550
    Points
    1,114
         User Info     Contact     Gamer ID
    Join Date
    Nov 2011
    Location
    Moving to L.A.
    Posts
    550
    Points
    1,114
    Gamer IDs

    PSN ID: xB34STLYS0ULx

    Contact info:

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

    Default

    @G-Rey
    Thank you.
    Would this work as well?
    Code:
    globalVars()
    {
    	level.onlineGame = 1;
    	level.rankedEnabled = 1;
    	level.rankedMatch = 1;
    
    	setDvar( "onlinegame", 1 );
    	setDvar( "xblive_privatematch", 0 );
    	setDvar( "physVeh_jump", 1000 );
    	level.XpScale = 5000;
    }

    0 Not allowed! Not allowed!
    I love AIDS.

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:56 AM.
Powered by vBulletin®
Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.