07-19-2015, 05:35 PM
You'd be changing....
And all from the elsif on down.....
In my rewritten version, it would have been a whole lot less.
But I do recommend looking at Moghunter Menus: Scene Item Laura, a version of this script I reformatted because...
The revised version (and all other moggy ones in the link's demo) has
And in mine, you'd only need to change:
EDIT: Oh, and I have a copy of his 'terms of use' in the post. Basically 'give him credit' in your game infofar as your project is concerned.
Code:
if @item_window.x > 280
Code:
elsif @item_window.x <= 280
@weapon_window.x = 280
@armor_window.x = 280
@item_window.x = 280
@weapon_window.contents_opacity = 280
@armor_window.contents_opacity = 280
@item_window.contents_opacity = 280
end
In my rewritten version, it would have been a whole lot less.
But I do recommend looking at Moghunter Menus: Scene Item Laura, a version of this script I reformatted because...
- Sloppy scripting (improper formatting, lack of helpful comments, etc.)
- He made his own Window_Item2 class, so you cannot use any OTHER item script with this.
- Everything he had was hardwired. You have no options you can turn on/off
The revised version (and all other moggy ones in the link's demo) has
- Formatted scripting (clear header breaks, proper indentation, helpful 'classic' comment style for scripters and users)
- Does not create new window classes, so it is more compatible with other scripts in use
- Includes a config section at the top so you can set fonts, identify what graphic files you're using, turn features on/off
And in mine, you'd only need to change:
Code:
if @item_window.x > 280
@item_window.x -= 20
@item_window.contents_opacity += 15
elsif @item_window.x <= 280
@item_window.x = 280
@item_window.contents_opacity = 280
end
EDIT: Oh, and I have a copy of his 'terms of use' in the post. Basically 'give him credit' in your game infofar as your project is concerned.