Schala battle system - rpg maker vx ace - Help!!

Discussion in 'RGSSx Script Support' started by KOC-316, Mar 13, 2018.

  1. KOC-316

    KOC-316 Veteran Veteran

    Messages:
    39
    Likes Received:
    0
    First Language:
    English
    Primarily Uses:
    RMVXA
    Hello. This is KOC-316 again. Does anybody have schala battle system and is having no problems with it? I love the battle system and learn how to use it pretty well but I had problems with this line on Schala battle system 3070-76
    def execute_turn_duration_interpreter
    return if !$game_temp.battle_phase[0]
    return if $game_temp.target_phase == nil
    $game_temp.target_phase.action_movement[3] = 99999
    if $game_map.events[@event_id] != nil
    $game_map.events[@event_id].action.duration = 99999 rescue nil
    end
    end
    This determines the duration on attacks and skill. I "!=nil" the ones with '99999' because I had a error and it worked fine and ran into another problem so I changed it back and all of a sudden it works fine. Now I created that dual tech copied the exact mechanics of how to do it on mog`s demo into my game and the dual tech needs autorun to activate. On his demo it stops after the skill is finish on autorun. On mines it keeps going on and on and on to infinite. I changed the numbers to mess around and it changed the skill duration and movement which led me to believe this line is causing me problems like it has since I first discovered it. Is there anyone who has it or fixed it to fit a certain way? Is there anything I`m doing that I don`t know about? I need help?
     
    #1
  2. gstv87

    gstv87 Veteran Veteran

    Messages:
    1,109
    Likes Received:
    356
    First Language:
    Spanish
    Primarily Uses:
    RMVXA
    the rescue instruction is used as " var = value rescue var = value2 "
     
    #2
  3. KOC-316

    KOC-316 Veteran Veteran

    Messages:
    39
    Likes Received:
    0
    First Language:
    English
    Primarily Uses:
    RMVXA
    Im not very indept on scripts. What do you mean by that?
     
    #3
  4. gstv87

    gstv87 Veteran Veteran

    Messages:
    1,109
    Likes Received:
    356
    First Language:
    Spanish
    Primarily Uses:
    RMVXA
    I don't see how that would change anything, but that's how you write it.
     
    #4
  5. KOC-316

    KOC-316 Veteran Veteran

    Messages:
    39
    Likes Received:
    0
    First Language:
    English
    Primarily Uses:
    RMVXA
    so i change the 99999 part to nil or put that whole line in there?
     
    #5

Share This Page