Results 1 to 9 of 9

Thread: SCRIPT ERROR

  1. #1
    σиє ℓιfє. ℓινє ιт. C0D-FR34K's Avatar
    Join Date
    Aug 2011
    Location
    Heaven and Hell
    Posts
    1,444
    Points
    920
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    Heaven and Hell
    Posts
    1,444
    Points
    920
    Gamer IDs

    PSN ID: xC0D--FR34Kx Steam ID: c0d-fr34k

    Default SCRIPT ERROR

    hey guys,

    after putting in the coordinates for my gametype, i loaded it up then when i got on multiplayer and started a private match on nuketown, i got a script error:

    Expressions list must have 1 or 3 parameters

    can anyone help?

    thanks

    0 Not allowed! Not allowed!

  2. #2
    Bot Bot's Avatar
    Join Date
    Aug 2011
    Posts
    2,671
    Points
    7,720
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Posts
    2,671
    Points
    7,720

    Default

    Show/post an example of a coordinate with your scripting.

    0 Not allowed! Not allowed!








  3. #3
    σиє ℓιfє. ℓινє ιт. C0D-FR34K's Avatar
    Join Date
    Aug 2011
    Location
    Heaven and Hell
    Posts
    1,444
    Points
    920
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    Heaven and Hell
    Posts
    1,444
    Points
    920
    Gamer IDs

    PSN ID: xC0D--FR34Kx Steam ID: c0d-fr34k

    Default

    level.bunkers[1] = createBlock( ( -1026.49, 134.992, -48.1535), (0, 158.64, 0) );

    0 Not allowed! Not allowed!

  4. #4
    Bot Bot's Avatar
    Join Date
    Aug 2011
    Posts
    2,671
    Points
    7,720
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Posts
    2,671
    Points
    7,720

    Default

    That appears to be OK, though I may be wrong
    level.bunkerList[1] = createBlock(( -1026.49, 134.992, -48.1355), (0, 158.64, 0));

    To test try, first make a backup, deleting all your coordinates and trying this coordinate (I believe it's for firing range though it might not matter):
    level.bunkerList[0] = createBlock(( 1303.42, 1584.29, -37.875), (0, 0, 0));

    If that doesn't work it might be some coding elsewhere in the script.

    0 Not allowed! Not allowed!








  5. #5
    σиє ℓιfє. ℓινє ιт. C0D-FR34K's Avatar
    Join Date
    Aug 2011
    Location
    Heaven and Hell
    Posts
    1,444
    Points
    920
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    Heaven and Hell
    Posts
    1,444
    Points
    920
    Gamer IDs

    PSN ID: xC0D--FR34Kx Steam ID: c0d-fr34k

    Default

    the first i think it was 12 or so that i tried first off worked but then i did all the rest at once, but im just gonna try deleting one at a time then trying

    0 Not allowed! Not allowed!

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

    that means you dont have 1-3 parameters for the origin/angles that you put in... so if you accidentally put in a , instead of a . you might get that error... so just look and make sure you have 2 , for each origin/angle that you have...

    0 Not allowed! Not allowed!

  7. #7
    σиє ℓιfє. ℓινє ιт. C0D-FR34K's Avatar
    Join Date
    Aug 2011
    Location
    Heaven and Hell
    Posts
    1,444
    Points
    920
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    Heaven and Hell
    Posts
    1,444
    Points
    920
    Gamer IDs

    PSN ID: xC0D--FR34Kx Steam ID: c0d-fr34k

    Default

    yer i fixed it, i called up my uncle (who knows c#, c+, and C++), and he told me that throughout the coordinates, i must of had more than three in the angles, so i went back and checked and i had:

    level.ammo[1] = ammoBox( ( -797.94, 279.914, -41.4813), (0, 0, 247.366, 0) );

    when it was meant to be:

    level.ammo[1] = ammoBox( ( -797.94, 279.914, -41.4813), (0, 247.366, 0) );

    so i changed it

    0 Not allowed! Not allowed!

  8. #8
    Bot Bot's Avatar
    Join Date
    Aug 2011
    Posts
    2,671
    Points
    7,720
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Posts
    2,671
    Points
    7,720

    Default

    Easy mistake - glad you fixed it.

    0 Not allowed! Not allowed!








  9. #9
    σиє ℓιfє. ℓινє ιт. C0D-FR34K's Avatar
    Join Date
    Aug 2011
    Location
    Heaven and Hell
    Posts
    1,444
    Points
    920
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    Heaven and Hell
    Posts
    1,444
    Points
    920
    Gamer IDs

    PSN ID: xC0D--FR34Kx Steam ID: c0d-fr34k

    Default

    thanks extreme

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