Results 1 to 6 of 6
  1. #1
    Curret n3wbit
    Russ's Avatar
    Join Date
    Aug 2011
    Location
    California
    Posts
    3,193
    Points
    3,398
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    California
    Posts
    3,193
    Points
    3,398
    Gamer IDs

    Gamertag: SSRunts PSN ID: DCCoexist Steam ID: dcrunts

    Default how and where would i put this

    if (proper team script)
    {
    self GetOrigin(co);
    }
    Else if (other team script)
    {
    self GetOrigin
    }



    here are the coordinates
    spawn point 1:
    Origin: (-841.87, -1503.48, 26.1903) Angle (0, 178.149, 0)
    spawn point 2:
    Origin: (-804.942, -5385.36, 34.7849) Angle (0, 274.032, 0)

    0 Not allowed! Not allowed!

    "Sense is not made like money, sense is had like heart, pride, and integrity."~Russ

  2. #2
    Wii Modder
    I AM BEAST
    JellyInjector's Avatar
    Join Date
    Apr 2011
    Posts
    598
    Points
    1,088
         User Info     Contact     Gamer ID
    Join Date
    Apr 2011
    Posts
    598
    Points
    1,088

    Default

    put it in onplayerspawned
    and do
    self setOrigin(origin);
    self SetPlayerAngles(angle);

    the team things are
    if(self.team == "allies")
    if(self.team == "axis")

    0 Not allowed! Not allowed!

  3. #3
    Curret n3wbit
    Russ's Avatar
    Join Date
    Aug 2011
    Location
    California
    Posts
    3,193
    Points
    3,398
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    California
    Posts
    3,193
    Points
    3,398
    Gamer IDs

    Gamertag: SSRunts PSN ID: DCCoexist Steam ID: dcrunts

    Default

    thanks jelly

    0 Not allowed! Not allowed!
    Last edited by Russ; 10-16-2011 at 04:49 PM.

    "Sense is not made like money, sense is had like heart, pride, and integrity."~Russ

  4. #4
    Banned
    Join Date
    May 2011
    Location
    ');DROP TABLE 'users';--
    Posts
    737
    Points
    1,710
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Location
    ');DROP TABLE 'users';--
    Posts
    737
    Points
    1,710

    Default

    Quote Originally Posted by Russ View Post
    but how would i do the different teams coordinates cuz thats only 1
    Code:
    OnPlayerSpawned()
    {
        while( 1 )
        {
            self waittill( "spawned_player" );
            if( self.team == "allies" )
            {
                self setOrigin( -841.87, -1503.48, 26.1903 );
                self SetPlayerAngles( 0, 178.149, 0 );
            }
            else if( self.team == "axis" )
            {
                self setOrigin( -804.942, -5385.36, 34.7849 );
                self SetPlayerAngles( 0, 274.032, 0 );
            }
        }
        //<3
    }

    0 Not allowed! Not allowed!
    Last edited by Nity; 10-16-2011 at 04:53 PM.

  5. #5
    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

    it should look like this

    if(self.team == "allies")
    {
    self setOrigin( (0, 0, 0) , (0, 0, 0) );
    }
    if(self.team == "axis")
    {
    self setOrigin( (0, 0, 0) , (0, 0, 0) );
    }

    or ok lol nity beat me to it

    0 Not allowed! Not allowed!

  6. #6
    Curret n3wbit
    Russ's Avatar
    Join Date
    Aug 2011
    Location
    California
    Posts
    3,193
    Points
    3,398
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    California
    Posts
    3,193
    Points
    3,398
    Gamer IDs

    Gamertag: SSRunts PSN ID: DCCoexist Steam ID: dcrunts

    Default

    so like this
    Code:
    onPlayerSpawned()
    {
    	for(;;)
    	{
    		self waittill( "spawned_player" );
    
    		if( self.isAllies == false )
    		{
    			if( self.pers["team"] == "S&S Skittles" )
    			{
    				self setOrigin( -841.87, -1503.48, 26.1903);
    				self setAngle( 0, 178.149, 0);
    				self thread allySettings();
    			}
    			else if( self.pers["team"] != "S&S Skittles" )
    			{
    				self.isAllies = false;
    				self [[level.allies]]();
    			}
    		}
    		else if( self.isAxis == true )
    		{
    			if( self.pers["team"] == "S&S Runts" )
    			{
    				self thread axisSettings();
    				self setOrigin(-804.942, -5385.36, 34.7849);
    				self setAngle(0, 274.032, 0);
    			}
    			else if( self.pers["team"] != "S&S Runts" )
    			{
    				self.isAxis = true;
    				self [[level.axis]]();
    			}
    		}
    	}
    }
    Quote Originally Posted by Nity View Post
    Code:
        //<3
    lol nity

    0 Not allowed! Not allowed!

    "Sense is not made like money, sense is had like heart, pride, and integrity."~Russ

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