Choice List Position

Discussion in 'JS Plugin Requests' started by Symbol_, Sep 11, 2019.

  1. Symbol_

    Symbol_ Veteran Veteran

    Messages:
    97
    Likes Received:
    14
    First Language:
    English
    Primarily Uses:
    RMMV
    I need a plugin that preferably is able to let you decide the X and Y co-ordinates of a specific choice list via plugin command, not every single on in the game. There's one by Biud436 online but it doesnt seem to work.

    I'm suprised on how hard it seems to be to track? Willing to commision someone.
     
    #1
  2. JGreene

    JGreene Veteran Veteran

    Messages:
    375
    Likes Received:
    286
    First Language:
    English
    Primarily Uses:
    RMMV
    You can do it with SRD's Super Tools Engine.

    Edit: You'd need a batch file to call a script from in the game for a specific window, however.
     
    #2
  3. Symbol_

    Symbol_ Veteran Veteran

    Messages:
    97
    Likes Received:
    14
    First Language:
    English
    Primarily Uses:
    RMMV
    Jgreene are you able to use that without downloading srdude upgrade pack? As lots of his mods require that and it conflicts with others
     
    #3
  4. JGreene

    JGreene Veteran Veteran

    Messages:
    375
    Likes Received:
    286
    First Language:
    English
    Primarily Uses:
    RMMV
    I don't have the upgrade pack and it works fine. Just get the super tools engine and HUD maker and you might be able to figure something out. Maybe using a conditional switch or variable that moves the window only when you need it to. And the batch file I mentioned may or may not work given that you're changing properties of a window during the game. I know that that kind of thing works for renaming maps/items/characters etc.
     
    #4
  5. Symbol_

    Symbol_ Veteran Veteran

    Messages:
    97
    Likes Received:
    14
    First Language:
    English
    Primarily Uses:
    RMMV
    It really seems like there should be a much easier way by now.
     
    #5
  6. Ossra

    Ossra Formerly Exhydra Veteran

    Messages:
    861
    Likes Received:
    627
    First Language:
    English
    Primarily Uses:
    RMMV
    #6
  7. Symbol_

    Symbol_ Veteran Veteran

    Messages:
    97
    Likes Received:
    14
    First Language:
    English
    Primarily Uses:
    RMMV
    Doesn't seem to work, I've tried putting the plugin command before and after the choice, with the (+) symbol at the start and without
     
    #7
  8. Ossra

    Ossra Formerly Exhydra Veteran

    Messages:
    861
    Likes Received:
    627
    First Language:
    English
    Primarily Uses:
    RMMV
    @Symbol_ Ah, the plus symbol is just a fancy header. Do not include that. Also, the 'ChoiceList' and 'setPosition' are case sensitive.

    Code:
    ossra ChoiceList setPosition x y retain
    ossra ChoiceList setPosition 100 250 true
    
    // Or without the 'retain' option
    ossra ChoiceList setPosition 100 250
    If that still does not work, press 'F12' to bring up the debugging window and let me know if any error message is there.
     
    #8
  9. Symbol_

    Symbol_ Veteran Veteran

    Messages:
    97
    Likes Received:
    14
    First Language:
    English
    Primarily Uses:
    RMMV
    X uncaught
    SyntaxError: Unexpected token

    is the error I get
     
    #9
  10. Ossra

    Ossra Formerly Exhydra Veteran

    Messages:
    861
    Likes Received:
    627
    First Language:
    English
    Primarily Uses:
    RMMV
    @Symbol_ Hmm, alright. The line number the error occurred on would be super helpful. If you could, please copy and paste the text of the error message, or snap a screen shot of the debugging window.
     
    #10
  11. Symbol_

    Symbol_ Veteran Veteran

    Messages:
    97
    Likes Received:
    14
    First Language:
    English
    Primarily Uses:
    RMMV

    Here you go, pre-emptively say I use an older version of RPG maker MV as the newer ones handle the game differently and such things as the shaders seem to lag the game quite a lot despite me not having a bad computer. It also won't be the orangehud error message causing problems as that's been in there in previous projects with a catalogue of other plugins without causing issue.
     
    #11
  12. Ossra

    Ossra Formerly Exhydra Veteran

    Messages:
    861
    Likes Received:
    627
    First Language:
    English
    Primarily Uses:
    RMMV
    Aah, that would be the reason. In the script I used a few javascript functions/features that are not available in the older versions of MV, apparently.

    The plugin linked in my previous message has been updated. Re-download that and give that a try. I believe I worked around the issue ... maybe.
     
    #12
  13. Symbol_

    Symbol_ Veteran Veteran

    Messages:
    97
    Likes Received:
    14
    First Language:
    English
    Primarily Uses:
    RMMV
    I get the same thing Uncaught SyntaxError: Unexpected token
    Thanks for trying anyway Ossra, I don't want to take anymore of your time
     
    #13
  14. Ossra

    Ossra Formerly Exhydra Veteran

    Messages:
    861
    Likes Received:
    627
    First Language:
    English
    Primarily Uses:
    RMMV
    #14
  15. Symbol_

    Symbol_ Veteran Veteran

    Messages:
    97
    Likes Received:
    14
    First Language:
    English
    Primarily Uses:
    RMMV


    Nothing yet, but the error has chaned to Undefined is not a function
     
    #15
  16. Ossra

    Ossra Formerly Exhydra Veteran

    Messages:
    861
    Likes Received:
    627
    First Language:
    English
    Primarily Uses:
    RMMV
    Hmm, alright, I updated the plugin. If there is another error, toss me the line number.
     
    #16
  17. Symbol_

    Symbol_ Veteran Veteran

    Messages:
    97
    Likes Received:
    14
    First Language:
    English
    Primarily Uses:
    RMMV
    We're getting somwhere, your X co-ordinates now do indeed move the choice menu on the horizontal axis, however the Y co-ordinates do not change the positioning of the windows Y position
     
    #17
  18. Ossra

    Ossra Formerly Exhydra Veteran

    Messages:
    861
    Likes Received:
    627
    First Language:
    English
    Primarily Uses:
    RMMV
    @Symbol_ Hmm, interesting. Are you using any other message related plugins? Try putting the ChoiceList plugin beneath any message plugin (or all plugins).
     
    #18
  19. Symbol_

    Symbol_ Veteran Veteran

    Messages:
    97
    Likes Received:
    14
    First Language:
    English
    Primarily Uses:
    RMMV
    Ah now the Y co-ords work thanks, I always assumed I should put it at top, I assumed if the plugin as the top of the list it takes full priority
     
    #19
  20. Ossra

    Ossra Formerly Exhydra Veteran

    Messages:
    861
    Likes Received:
    627
    First Language:
    English
    Primarily Uses:
    RMMV
    @Symbol_ Nope! The last plugin on the chain performs the last action. Another plugin was over-writing the Y value, apparently. Also, I guess I need to re-write some of my code so that older versions of MV can use them.
     
    #20

Share This Page