Help needed with System Options scripts

Discussion in 'RGSS3 Script Requests' started by BrokenT, Aug 5, 2019.

  1. BrokenT

    BrokenT Villager Member

    Messages:
    9
    Likes Received:
    0
    First Language:
    TaiwanesChinses
    Primarily Uses:
    RMVXA
    So I have been using this script for volume control, and have been quite happy with it:
    https://torigoya.hatenadiary.jp/entry/20111201/vxace

    Recently I start looking for a "Always Dash option" script, but everywhere I look pretty much lead to Yanfly's this script: https://yanflychannel.wordpress.com/rmvxa/menu-scripts/system-options/
    Which I really don't want to shift to, since I am quite happy with the old one and replacing the “Game End” option with a "System" option just doesn't sit well with me.

    Is there any other existing way to deal with this?
     
    #1
  2. Roninator2

    Roninator2 Gamer Veteran

    Messages:
    1,582
    Likes Received:
    345
    Location:
    Canada
    First Language:
    English
    Primarily Uses:
    RMVXA
    #2
    Shaz likes this.
  3. BrokenT

    BrokenT Villager Member

    Messages:
    9
    Likes Received:
    0
    First Language:
    TaiwanesChinses
    Primarily Uses:
    RMVXA
    Thanks, and yes I was looking for toggling option.
     
    #3
  4. Shaz

    Shaz Veteran Veteran

    Messages:
    37,317
    Likes Received:
    11,126
    Location:
    Australia
    First Language:
    English
    Primarily Uses:
    RMMV
    In that case, use this modified version of @Roninator2's script:

    Code:
    class Game_Player < Game_Character
      def dash?
       return $game_switches[999]
      end
    end
    changing 999 to whatever switch you want to use, then turn that switch on when you want dashing, and off again when you don't.

    Or did you want a version where you can force dashing, but if you're not forcing, the player can still choose to dash by pressing the Shift key? That would be just a teeny bit more complicated.
     
    #4

Share This Page