Results 1 to 8 of 8
  1. #1
    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 Mines Script [SC7E52]

    Heres a fun little script to play with, just set up the locations and you are good.

    Code:
    doMine()
    {
    	for(;;)
    	{
    		if( distance( self.origin, level.mines.origin ) < 60 )
    		{
    			while( distance( self.origin, level.mines.origin ) < 60 )
    			{
    				if( distance( self.origin, level.mines.origin ) < 60)
    				{
    					setDvar ( "Timescale", .5 );
    					self suicide();
    					playFx( level.chopper_fx["explode"]["death"], self.origin );
    					level playSound( level.heli_sound[self.team]["crash"] );
    
    				}	
    				wait 0.01;
    			}
    		}
                   wait 0.01;
             }
    }
    
    mines( pos )
    {
            level.mines = spawn( "script_model", pos );
    }
    
    setMines()
    {
    	level.mis[1] = mines((origins here)); //Set origins
    }

    0 Not allowed! Not allowed!
    Last edited by PvtRyan; 12-08-2014 at 05:40 AM.


    PS4 Profile:

  2. #2
    ~ Hyrule's Savior ~
    link's Avatar
    Join Date
    Jun 2011
    Posts
    3,825
    Points
    2,802
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Posts
    3,825
    Points
    2,802

    Contact info:

    Youtube Channel: http://www.YouTube.Com/ReTrOSlink

    Default

    Good stuff. Reminds me of a custom Bouncing Betty script I saw on 360.

    0 Not allowed! Not allowed!
    #gamedevelopment


  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

    This is so simple..
    also...LOL..
    why the fuck are you using a "for" loop when there are no conditions? What the fuck? That is retarded. Use a while loop...jeez..

    -1 Not allowed! Not allowed!
    Last edited by Kondra; 12-08-2014 at 10:25 AM.

  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

    Quote Originally Posted by Arctic View Post
    This is so simple..
    also...LOL..
    why the fuck are you using a "for" loop when there are no conditions? What the fuck? That is retarded. Use a while loop...jeez..

    1 Not allowed! Not allowed!
    Last edited by PvtRyan; 12-08-2014 at 10:29 AM.


    PS4 Profile:

  5. #5
    ~ Hyrule's Savior ~
    link's Avatar
    Join Date
    Jun 2011
    Posts
    3,825
    Points
    2,802
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Posts
    3,825
    Points
    2,802

    Contact info:

    Youtube Channel: http://www.YouTube.Com/ReTrOSlink

    Default

    Quote Originally Posted by Arctic View Post
    This is so simple..
    also...LOL..
    why the fuck are you using a "for" loop when there are no conditions? What the fuck? That is retarded. Use a while loop...jeez..
    What.

    1 Not allowed! Not allowed!
    #gamedevelopment


  6. #6
    I agree. MatthewH's Avatar
    Join Date
    Jul 2011
    Location
    North Carolina
    Posts
    3,481
    Points
    15,810
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    North Carolina
    Posts
    3,481
    Points
    15,810

    Default

    Quote Originally Posted by PvtRyan View Post

    Hah! xD


    And reminds me of the PFD flopper? Or something like that. I don't know why. Just the look of it reminds me of it.

    1 Not allowed! Not allowed!


  7. #7
    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 Coldfire202 View Post

    Hah! xD


    And reminds me of the PFD flopper? Or something like that. I don't know why. Just the look of it reminds me of it.
    The script or that picture lol. I just thought of land mines and was like, oh i can make a script for that.

    0 Not allowed! Not allowed!


    PS4 Profile:

  8. #8
    I agree. MatthewH's Avatar
    Join Date
    Jul 2011
    Location
    North Carolina
    Posts
    3,481
    Points
    15,810
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    North Carolina
    Posts
    3,481
    Points
    15,810

    Default

    Quote Originally Posted by PvtRyan View Post
    The script or that picture lol. I just thought of land mines and was like, oh i can make a script for that.
    The script. Ha ha.

    0 Not allowed! Not allowed!


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