Results 1 to 5 of 5
  1. #1
    Oh Noez Batman ChelseaGrin's Avatar

    Badge

    Join Date
    Aug 2011
    Location
    I am Become Death, the Destroyer of Worlds
    Posts
    1,456
    Points
    353
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    I am Become Death, the Destroyer of Worlds
    Posts
    1,456
    Points
    353
    Gamer IDs

    PSN ID: byRexehh

    Idea [SC7E52] Would this work?

    The idea of this script is to end the game if there is one player on a team.
    Also if this does not work can someone please fix, and message me it or post as a reply I will give credit in my gametype

    Also another question, what team is "attackers" is it allies, axis etc.


    Code:
    EndIfLastPlayer()
    {
    	for(;;)
    	{
    		wait 1.0;
    		if( level.playerCount["axis"] == 1 )
    		{
    			wait 2.0;
    			thread maps\mp\gametypes\_globallogic::forceEnd( true );
    			break;
    		}
    	}
    }
    Thanks

    0 Not allowed! Not allowed!
    Last edited by ChelseaGrin; 10-18-2013 at 11:28 AM. Reason: Reformatted Code.





  2. #2
    Banned

    Badge

    Join Date
    Oct 2013
    Location
    Being Grumpy
    Posts
    1,301
    Points
    285
         User Info     Contact     Gamer ID
    Join Date
    Oct 2013
    Location
    Being Grumpy
    Posts
    1,301
    Points
    285
    Gamer IDs

    Gamertag: CandyCrusher PSN ID: CandyCrusher

    Contact info:

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

    Default

    It would work if you placed your 3rd syntax bracket
    In right + if you use the tab button right.

    It would work if you placed your 3rd syntax bracket
    In right + if you use the tab button right.

    Attackers = Axis

    -1 Not allowed! Not allowed!
    Last edited by Slowduck; 10-18-2013 at 11:56 AM. Reason: double post

  3. #3
    Oh Noez Batman ChelseaGrin's Avatar

    Badge

    Join Date
    Aug 2011
    Location
    I am Become Death, the Destroyer of Worlds
    Posts
    1,456
    Points
    353
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    I am Become Death, the Destroyer of Worlds
    Posts
    1,456
    Points
    353
    Gamer IDs

    PSN ID: byRexehh

    Default

    What do you mean right plus?
    PM me the script but fixed.

    0 Not allowed! Not allowed!





  4. #4
    Just say no to drugs hell nah I ain't listen Drugs's Avatar

    Badge

    Join Date
    Jun 2011
    Location
    /r/Pokmon
    Posts
    3,565
    Points
    2,721
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Location
    /r/Pokmon
    Posts
    3,565
    Points
    2,721
    Gamer IDs

    Gamertag: Spin Master PSN ID: xTiPToN_- Steam ID: xTipton

    Contact info:

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

    Default

    If you're looking for a syntax error, run it through Tlpwnzer's Syntax Checker. It's in the Wii Programs Section or just try the search bar.

    0 Not allowed! Not allowed!
    Not a drug addict.

    | Wiki | Site Problems | Soundcloud | MTV Artist Page |

    PM @Tony for free Netflix Accounts

  5. #5
    Oh Noez Batman ChelseaGrin's Avatar

    Badge

    Join Date
    Aug 2011
    Location
    I am Become Death, the Destroyer of Worlds
    Posts
    1,456
    Points
    353
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    I am Become Death, the Destroyer of Worlds
    Posts
    1,456
    Points
    353
    Gamer IDs

    PSN ID: byRexehh

    Default

    I've done that, thanks though.

    I guess it should work.

    EDIT:
    It does work

    0 Not allowed! Not allowed!
    Last edited by ChelseaGrin; 10-18-2013 at 12:57 PM.





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