Luna Quest Menu not accepting window positions.

● ARCHIVED · READ-ONLY
Started by Darangen 4 posts View original ↗
  1. I'm having issues with quest menu's not accepting x/y coordinates. The help window, however, is working fine.

    Spoiler


    From the quest menu config script, here are my settings:

    For window category:

    WINDOW_CATEGORY = { :enable => true, :x => 0, :y => 0, :z => 300, :width => 180, :height => 120, # By default: max lines show is # (height - 24) / 24 :item_height => 30, :padding => 12, :cursor => true, :arrow => true, # Default arrow for long list. #--- :align => 2, :vertical => true, :back_type => 0, # 0 - normal window, 1 - gradient, 2 - picture :background_variable => 1, # Set a Variable to change Windowfor window item:
    Code:
        WINDOW_ITEM = {      :x            =>  210,      :y            =>  30,      :z            =>  300,      :width        =>  240,      :height       =>  120,      :column       =>  1,      :item_height  =>  24,      :padding      => 12,            :cursor       => true,      :arrow        => true, # Default arrow for long list.      :back_type    => 0,    # 0 - normal window, 1 - gradient, 2 - picture      :background_variable => 1, # Set a Variable to change Window            :item_rect=>  {        :custom =>  false,  # Enable custom item_rect or not        :width  =>  64,        :height =>  64,        :spacing_ver =>  8,        :spacing_hor =>  8,      },
    and for window description:
    Code:
        WINDOW_DESCRIPTION = {      :x      =>  240,      :y      =>  120,      :z      =>  300,      :width  =>  390,      :height =>  296,      :padding    => 10,      #---      :back_type  =>  0,      # 0 - normal window, 1 - gradient, 2 - picture      :background_variable => 1, # Set a Variable to change Window
    Shouldn't setting a windows x and y to 0 move it to the top left corner?
  2. Your align is set to 2 (I'm pretty sure it's 0 (top left),1 (center))

    I'll check the Quest Options soon
  3. Changed align to 0 and 1, neither moved the windows.


    Regardless of what I set x or y to, none of the windows except the help window will move. I can change their sizes, but not their position.
  4. Fixed. I'll PM you the result.  :)

    I'll be updating the Luna Engine after all issues have been resolved.