Announcement

Collapse
No announcement yet.

toggle switch Q?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • toggle switch Q?

    i'm trying to make a toggle switch , to change the settings in the skin.ini
    for a couple of plugins i have , also some rr settings too.

    example of my code is for blues day/night event.of which i'm trying to change the DNE_Mode setting.

    the problem i have is that its missing the 2nd cmd, its jumping from the 1st to the last setting .

    ie onbuttonpress = stattime, on 2nd buttonpress = autotime

    then 2nd press should be statgpstime and the 3rd autogps then back to stattime.

    "TimeMode","BYVAR;DNE_Mode;Stattime<<StatGPStime<< Autotime"
    "Autotime","savetoskin;DNE_Mode;0||reloadskin||loa d;timer.skin"
    "StatGPStime","savetoskin;DNE_Mode;1||reloadskin|| load;timer.skin"
    "Stattime","savetoskin;DNE_Mode;2||reloadskin||loa d;timer.skin

    thanks guys

    ENJOY
    Riderunner / Genesis
    Plugin Breaker in test BassRR Plugin Player, Wifiman_NET
    New Home for Genesis & BassRR :adding to site ,, Hellfyre night
    Bassrr Beta Release :Version 1.3.7
    Movie_info Release :Version 3.1.0
    Wifiman_NET:Version 1.0.0

    Every Future, Needs A Beginning

  • #2
    Say DNE=0 (initially), when you do TimeMode it will run stattime, it will then set DNE=2 and reload, then if you hit timemode again, it will run autotime, which will set DNE=0 and reload... and that will loop forever.. without using StatGPSTime.. you just need to switch the order of your commands in byvar or switch the dne values.

    this should work with your current commands:
    Code:
    "BYVAR;DNE_Mode;StatGPStime<<Stattime<<Autotime"
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

    Comment


    • #3
      cheers G i'll give it go

      i understand now so the sequence needs to be 1- 2 -0 or what ever the amount is it must start with 1 and finish with 0 .
      works a treat .
      Riderunner / Genesis
      Plugin Breaker in test BassRR Plugin Player, Wifiman_NET
      New Home for Genesis & BassRR :adding to site ,, Hellfyre night
      Bassrr Beta Release :Version 1.3.7
      Movie_info Release :Version 3.1.0
      Wifiman_NET:Version 1.0.0

      Every Future, Needs A Beginning

      Comment

      Working...
      X