Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

[VX] Show JobLVL in Status

I'm using prexus's Job Changing/EXP script
topic:
http://www.rmxp.org/forums/index.php?topic=42990.0

This script gives all the actors a second lvl, a class lvl
How do I put the actors Class lvl in his Status screen
So how do I put the Class lvl in window_status?

This is what I have:
Code:
  def draw_exp_info(x, y)
    s1 = @actor.exp_s
    s2 = @actor.next_rest_exp_s
    s_next = sprintf(Vocab::ExpNext, Vocab::level)
    self.contents.font.color = system_color
    self.contents.draw_text(x, y + WLH * 0, 180, WLH, Vocab::ExpTotal)
    self.contents.draw_text(x, y + WLH * 2, 180, WLH, s_next)
    self.contents.font.color = normal_color
    self.contents.draw_text(x, y + WLH * 1, 180, WLH, s1, 2)
    self.contents.draw_text(x, y + WLH * 3, 180, WLH, s2, 2)
    self.contents.draw_text(x-240, y + WLH * 3 -50, 180, WLH, "?", 2) #selfmade
    self.contents.font.color = system_color                                      #selfmade
    self.contents.draw_text(x-270, y + WLH * 3 -50, 180, WLH, "Class #{Vocab::level_a}", 2) #selfmade
  end

What do I have to put in for "?" in this line: self.contents.draw_text(x-240, y + WLH * 3 -50, 180, WLH, "?", 2)
I want the "?" to be replaced by the lvl.


Thanks in advance.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top