Choice List Position

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

  1. Ossra

    Ossra Formerly Exhydra Veteran

    Messages:
    861
    Likes Received:
    628
    First Language:
    English
    Primarily Uses:
    RMMV
    @Almightypebble Huh, that is really weird. Are there any other plugins that you are using that are message/choice related? I have included YEP Message Core in the testing, and everything is working fine with that. There must be another plugin that is causing an issue.

    Also, in 'ChoiceList' the 'List' must be capitalized. Not sure if it is in your project or not. Also, you do not have to include 'false' at the end of the command. You only need to include 'true', otherwise it assumes 'false'.
     
    #41
    Almightypebble likes this.
  2. Almightypebble

    Almightypebble Veteran Veteran

    Messages:
    57
    Likes Received:
    1
    First Language:
    Bulgarian
    Primarily Uses:
    RMMV
    @Ossra Hey! yeah, I forgot to write it capitalized here, but it is in my project.
    Wow, you're right, sorry! I'm using a plugin for Yanfly's message core that makes it so I can align text and that seems to be causing the problem.
    It's THIS one. Didn't cross my mind until I turned it off, but I guess since you've made it so you can use text codes in the choices it sees them as text. :D
     
    Last edited: Sep 24, 2019
    #42
  3. Ossra

    Ossra Formerly Exhydra Veteran

    Messages:
    861
    Likes Received:
    628
    First Language:
    English
    Primarily Uses:
    RMMV
    @Almightypebble So is everything working now, or is it still exploding? o:
     
    #43
  4. Almightypebble

    Almightypebble Veteran Veteran

    Messages:
    57
    Likes Received:
    1
    First Language:
    Bulgarian
    Primarily Uses:
    RMMV
    @Ossra Well, it's working if I turn off the yep message align plugin, but I need that, so I just returned to 1.21 instead. :D
     
    #44
  5. Ossra

    Ossra Formerly Exhydra Veteran

    Messages:
    861
    Likes Received:
    628
    First Language:
    English
    Primarily Uses:
    RMMV
    @Almightypebble Aah, ok. I will see if I can get the plugin working with that alignment plugin, then.




    EDIT: Oh, wait, are you using the 'RS_MessageAlign' text codes in any option of the 'Show Choices' list (\TA[1], \TA[2], <CENTER>, <RIGHT>)? Because that will cause the text to become garbled. Since you can use the Choice List plugin to align the option text now, you should remove any 'RS_MessageAlign' text codes in the 'Show Choices' options.
     
    Last edited: Sep 24, 2019
    #45
  6. Almightypebble

    Almightypebble Veteran Veteran

    Messages:
    57
    Likes Received:
    1
    First Language:
    Bulgarian
    Primarily Uses:
    RMMV
    @Ossra I haven't used those text align codes in the choices since I've been using your plugin. Only for text.

    EDIT: The issue seems to be only if the choices are on the same row, so I think its because its putting all of them at the same starting position since it counts them as text. It works perfectly if they are on different rows though.
     
    Last edited: Sep 24, 2019
    #46
  7. Ossra

    Ossra Formerly Exhydra Veteran

    Messages:
    861
    Likes Received:
    628
    First Language:
    English
    Primarily Uses:
    RMMV
    @Almightypebble Ok, I see the problem now. When you use the text codes from that plugin in the message, the alignment carries over to any 'Show Choices' command that follows afterward. To get around this, put the following text code at the end of every message where you have used alignment text codes : \AEND

    Code:
    ◆Text:None, Window, Bottom
    :    :\TA[1]This is a centered line of text.
    :    :This line is also center aligned.
    :    :This line is probably centered, too.\AEND
    ◆Show Choices:Yes, No (Window, Right, #1, #2)
    :When Yes
      ◆
    :When No
      ◆
    :End
    
    That should hopefully solve the issue. o;
     
    #47
    Almightypebble likes this.
  8. Almightypebble

    Almightypebble Veteran Veteran

    Messages:
    57
    Likes Received:
    1
    First Language:
    Bulgarian
    Primarily Uses:
    RMMV
    @Ossra That doesn't seem to be doing anything, did you add it as an update to the alignment plugin?
     
    #48
  9. Ossra

    Ossra Formerly Exhydra Veteran

    Messages:
    861
    Likes Received:
    628
    First Language:
    English
    Primarily Uses:
    RMMV
    @Almightypebble Hmm, strange. Nope, that is an un-documented text code for the 'RS_MessageAlign' plugin.

    choicelist-a.png
    Here is how it appears to be when I use \AEND at the end of the message.

    choicelist-b.png
    This is how it appears without \AEND.
     
    #49
    Almightypebble likes this.
  10. Almightypebble

    Almightypebble Veteran Veteran

    Messages:
    57
    Likes Received:
    1
    First Language:
    Bulgarian
    Primarily Uses:
    RMMV
    @Ossra I'm really sorry dude, I just updated the message align plugin, I must have been using an earlier version, now its all good.
    Thanks again for all you've done, sorry for the headache! :D
     
    Last edited: Sep 24, 2019
    #50
    Ossra likes this.
  11. Ossra

    Ossra Formerly Exhydra Veteran

    Messages:
    861
    Likes Received:
    628
    First Language:
    English
    Primarily Uses:
    RMMV
    @Almightypebble Hmm, well, until I find a better work-around, I have updated the plugin to 1.27 and added a check that will clear the alignment carried over from the 'Show Text' command if it detects that 'RS_MessageAlign' is installed.

    EDIT: Aah, ok! Well I am glad that it is working, then!
     
    #51
  12. Almightypebble

    Almightypebble Veteran Veteran

    Messages:
    57
    Likes Received:
    1
    First Language:
    Bulgarian
    Primarily Uses:
    RMMV
    @Ossra What a surprise! It is I, again! It's not about the plugin this time, I promise! :D
    I just wanted to ask you how did you make it so the text stays when your choices appear?
    Are you using a script to show your text like HERE? :dizzy:
     
    #52
  13. Ossra

    Ossra Formerly Exhydra Veteran

    Messages:
    861
    Likes Received:
    628
    First Language:
    English
    Primarily Uses:
    RMMV
    @Almightypebble Oh, do you mean in my previous screen shots? That is just a normal feature of MV, actually. Make sure that 'Show Text' is first and 'Show Choices' is second and that there is nothing in between the two.

    event.png
     
    #53
  14. Almightypebble

    Almightypebble Veteran Veteran

    Messages:
    57
    Likes Received:
    1
    First Language:
    Bulgarian
    Primarily Uses:
    RMMV
    @Ossra Oh wow, no wonder almost nothing showed up when I was looking for how to make it work...because I don't need anything to make it work.
    Thanks a bunch again man, one day I will buy you a beer! :D
     
    #54
  15. Ossra

    Ossra Formerly Exhydra Veteran

    Messages:
    861
    Likes Received:
    628
    First Language:
    English
    Primarily Uses:
    RMMV
    @Almightypebble Updated to 1.30 Beta; Work in Progress. You can now set and clear multiple properties in a single command. Also, you can independently set the horizontal and vertical spacing.

    Code:
    // Set Multiple Properties
    ossra ChoiceList set section property,property value,value retain,retain
    ossra ChoiceList set section property,property value,value retain
    // NOTE: You can set the 'retain' value of each property with one 'retain' (a single 'true' instead of 'true,true,true,true')  
    
    // Example :
    ossra ChoiceList set window x,y,rows,columns 50,150,2,2 true,false,true,false
    ossra ChoiceList set window x,y,rows,columns 50,150,2,2 true
    
    
    
    // Set Horizontal / Vertical Spacing (Separate)
    ossra ChoiceList set item spacing [horizontal,vertical]
    
    // Example :
    ossra ChoiceList set item spacing [25,50]
    ossra ChoiceList set item width,spacing,align 120,[25,50],"center"
    
    // Set Horizontal / Vertical Spacing (Shared)
    ossra ChoiceList set item spacing horizontalVertical
    
    // Example :
    ossra ChoiceList set item spacing 25
    ossra ChoiceList set item width,spacing,align 120,25,"center"
    
    
    
    // Clear Multiple Properties
    ossra ChoiceList clear section property,property
    
    // Example : 
    ossra ChoiceList clear window y
    ossra ChoiceList clear window y,rows,columns
     
    #55
    Almightypebble likes this.
  16. Almightypebble

    Almightypebble Veteran Veteran

    Messages:
    57
    Likes Received:
    1
    First Language:
    Bulgarian
    Primarily Uses:
    RMMV
    @Ossra Hey again, I've just been adjusting some things around for my game and I just wanted to ask if you could add an option to change the window width, cause in some instances I'd like to have it be as wide as the screen, even if it doesn't have enough choices to fill it up.

    EDIT: Never mind! I realized I could just do it with the item width and spacing, depending on how many columns there are.
     
    Last edited: Oct 3, 2019
    #56
  17. Ossra

    Ossra Formerly Exhydra Veteran

    Messages:
    861
    Likes Received:
    628
    First Language:
    English
    Primarily Uses:
    RMMV
    @Almightypebble I was tinkering around with the idea of adding the ability to change the hue and opacity of the cursor or change the windowskin. Not sure, though.
     
    #57
  18. Almightypebble

    Almightypebble Veteran Veteran

    Messages:
    57
    Likes Received:
    1
    First Language:
    Bulgarian
    Primarily Uses:
    RMMV
    @Ossra Oh, I had tested it out and your plugin works with Hime's Windowskin Change or SRDude's Individual Skins, so it's really up to you if you want to add it as another option man. Right now I am not using a custom cursor or different window skins for choices, so I don't have an opinion yet. :D
     
    #58
  19. Ossra

    Ossra Formerly Exhydra Veteran

    Messages:
    861
    Likes Received:
    628
    First Language:
    English
    Primarily Uses:
    RMMV
    @Almightypebble Yeah, that is kind of why I did not add that in. There seemed to be several options for changing the windowskin and such.
     
    #59

Share This Page