Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

> Quick Window_Status edit. [SOLVED], Empty equipment slots to read "empty"
Wonderjosh
post Mar 28 2012, 05:23 PM
Post #1


Level 3
Group Icon

Group: Member
Posts: 33
Type: Artist
RM Skill: Undisclosed




Just wondering if this would be the right way to go about adjusting the status window, when there's an empty equipment slot for the character, to read "empty". Hopefully that sentence is constructed well enough to make sense, haha.

Anyway, here's what I'm thinking (just using the 4th armor slot as an example):
CODE
      if @actor.armor4_id == nil
      self.contents.font.color = system_color
      self.contents.draw_text(112, 80, 150, 32, "Empty")
      end


Now I HAVE plugged it in, but nothing's showing up, so if this is the right way to write the code then I'm at a loss, haha. But if there's a proper way to script this, any help would be awesome. Thanks!

This post has been edited by Wonderjosh: Mar 29 2012, 08:59 AM
Go to the top of the page
 
+Quote Post
   

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 20th May 2013 - 08:41 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker