{RESOLVED} Need help editing script (Blizzard, you'd be very helpful for this)

Started by sonicfan1012, January 12, 2008, 09:49:52 pm

Previous topic - Next topic

sonicfan1012

I need help editing Blizzard's Ragnarok skill script. The problem is when you're learning a skill. When the script is called, there are 5 choices: Learn skill, improve skill, previous, next, and exit. I want to focus on the first one. After you choose the first choice, you pick from skills you want to learn, and after you pick the skill, a conformation window pops up. The problem is that the conformation window is transparent (you can see the stuff that's supposed to be behind the window). I really want that fixed. Heres the link to the script.
http://www.rmrevolution.com/84/ro-jobskill-system/
you'll find the script download button there.

Blizzard

This is how it looks with me:



Maybe another script is messing with it. How about this here... Find the line that says:

class Window_Sure < Window_Command


Just below should be this piece of code:

  def initialize(width, commands)
    # add another command, serves as fix
    commands.push('')
    super
    @item_max, self.index = commands.size - 1, 0
    self.x, self.y, self.z = 320-self.width/2, 240-self.height/2, 10000
    refresh
  end


Add this line before "refresh":

self.opacity = 255
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

sonicfan1012

Weird, it worked when I used it one another game completely normally with all my other scripts. O well. Thanks, though, blizzard for trying. Ur still awesome for even makin this script  :D

Blizzard

I suppose you've had an opacity changing command who knows where. xD
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.