Results 1 to 6 of 6
  1. #1
    Arasonic's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    569
    Reputation
    11
    Thanks
    115
    --
    Code:
    FIXED
    Why wont all of these spawns work?
    Code:
    GetMapSpawnPoint( )
    {
    Waypoint = undefined;
    
    switch( getDvar("mapname") )
    {
    	case "mp_afghan":
    	switch( randomInt(6) )
    	{
    		case 0:
    		Waypoint = (-1301,810,64);
    		break;
    		case 1:
    		Waypoint = (-564,-763,-143);
    		break;
    		case 2:
    		Waypoint = (-419,1320,152);
    		break;
    		case 3:
    		Waypoint = (-609,1272,213);
    		break;
    		case 4:
    		Waypoint = (1300,3800,250);
    		break;
                case 5:
    		Waypoint = (3514,3685,153);
    		break;
                case 6:
    		Waypoint = (3471,1898,41);
    		break;
    	}	
    	break;
    - & would it be possible to make it brighter only when using a predator missile?

    I might not allowed to do this, I dont know, but bump? I'd really like to know before another of the threads I make fade away.
    Last edited by Blubb1337; 09-30-2010 at 01:54 AM.

  2. #2
    bomb21's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Unknown
    Posts
    57
    Reputation
    10
    Thanks
    22
    are you sure the coordinates are good? seems that the last 2 are out of place but otherwise it should have no reason not to work

    or maybe the number was never selected?
    but im not sure

  3. #3
    Orichumaru's Avatar
    Join Date
    Sep 2007
    Gender
    male
    Location
    Location location location
    Posts
    79
    Reputation
    10
    Thanks
    11
    My Mood
    Pensive
    Or, just play it on rust? they spawn perfectly there and they will probably kick the living crap out of you (even through it would seem you knifed yourself). IMO Rust and Scrapyard + AIzombies = Apocalypse style

  4. #4
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,915
    Reputation
    161
    Thanks
    3,108
    Next time, be a little more patient.

    /Posts merged



  5. #5
    Arasonic's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    569
    Reputation
    11
    Thanks
    115
    Quote Originally Posted by Blubb1337 View Post
    Next time, be a little more patient.

    /Posts merged
    Hehe, I will. Even though it seems that always I make a thread, it doesnt get any answers.

    -------

    I think you misunderstood, even if the spawns were out of the map they should have spawned there. What I basicly want is that they spawn at all the places at once, without any wait or w/e.

  6. #6
    mathieutje12's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Close to my PC
    Posts
    578
    Reputation
    14
    Thanks
    166
    My Mood
    Angelic
    I use this
    Code:
     switch(GetDvar("mapname")) {
                case "mp_checkpoint":
                    self thread doSpawns();
                    break;
    Code:
    doSpawns()
    {
        level.spawn[0] = (-4478, 449, 50);
        level.spawn[1] = (-4477, 152, 50);
        level.spawn[2] = (-4085, 125, 50);
        level.spawn[3] = (-4085, 449, 50);
        level.spawn[4] = (-4143, 509, 18);
        level.spawn[5] = (-4727, 683, 91);
    	level.otherteamspawn[0] = (-2392, 988, 312);
    	wait .05;
    	if(self.team == "axis")
    		self setOrigin(level.spawn[RandomInt(level.spawn.size)]);
    	else if(self.team == "allies")
    		self setOrigin(level.otherteamspawn[RandomInt(level.otherteamspawn.size)]);
    }

Similar Threads

  1. Two Questions!
    By kiraush in forum General Gaming
    Replies: 2
    Last Post: 10-02-2010, 09:12 PM
  2. Two Questions: One for anybody, One for Pixipixel.
    By Chaceb3 in forum WarRock - International Hacks
    Replies: 9
    Last Post: 04-22-2010, 11:50 AM
  3. [Help] I have two Question , Answer if you can ;)
    By ShayanxD in forum Sudden Attack General
    Replies: 4
    Last Post: 02-04-2010, 05:11 PM
  4. TWO QUESTIONS FOR AN UBER NOOB
    By sharpsooter in forum Combat Arms Mod Discussion
    Replies: 2
    Last Post: 12-18-2009, 03:30 PM
  5. Two questions
    By juromaru in forum Combat Arms Hacks & Cheats
    Replies: 4
    Last Post: 04-08-2009, 04:39 PM