Results 1 to 3 of 3
  1. #1
    Skaarj
    Join Date
    Sep 2010
    Location
    Yakima, Wahington
    Posts
    17

    Default Need help with some minor alterations to a mutator

    i found a nutator on GreatEmeralds page called UT2K4Picks, after using UE Explorer to export all the scripts, i went and edited a few lines then went and tried to recompile it and now keep running into a "Maximum Nesting Limit Exceeded" i havent added the examples of what i edited as UT2K4Picks is not my work(if GreatEmerald says i can i will post what the orignal script and my edits look like)
    FOLLOW ME!!! I know the way! .....i think?

  2. #2

    Default

    I suppose it's because UE Explorer decompiles else and if's separately. For example "else if( ... ){ code }" becomes "else{ if( ... ){ code } }"

    So just replace:
    Code:
    else
    {
        if( ... )
        {
        }
        else
        {
             if( ... )
             ...
        }
    }
    with:
    Code:
    else
    {
        if( ... )
        {
        }
        else if( ... )
        {
             ...
        }
    }
    And repeat until it's all nicely formatted. or at least enough to avoid the nesting level limit.

  3. #3
    Skaarj
    Join Date
    Sep 2010
    Location
    Yakima, Wahington
    Posts
    17

    Default

    okay it compiled and now off to test and see if my very first foray into messing with uScript was succesful


    EDIT: well minus 1 minor bug i done it maybe i actually have a chance at figuring out uScript (: with a little help for y'all that is (:
    Last edited by TalonHunter; 05-06-2012 at 02:16 AM.
    FOLLOW ME!!! I know the way! .....i think?


 

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
  •  
Copyright ©2009-2011 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by CompletevB.com.