Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Closed TopicStart new topic
> The posession window will not change?, wtf
Adrien.
post Jan 3 2012, 01:52 PM
Post #1


Bet Mapper
Group Icon

Group: Banned
Posts: 1,632
Type: Mapper
RM Skill: Advanced




Ok so from my understanding when you go into a shop, you click buy, select your item - you are then presented with a quanity + cost and a possession window. according to VX ACE under Window_ShopStatus:

CODE
  
def draw_possession(x, y)
    rect = Rect.new(x, y, contents.width - 4 - x, line_height)
    change_color(system_color)
    draw_text(rect, Vocab::Possession)
    change_color(normal_color)
    draw_text(rect, $game_party.item_number(@item), 2)
  end


That's thew code to draw the possession window to say "you have x amount now.
How ever I changed it to:

CODE
  alias adrien_change_width_height_position_draw_posession_a353 draw_possession
  def draw_possession(x, y)
    adrien_change_width_height_position_draw_posession_a353(x, y)
    rect = Rect.new(x-120, y+120, 0, 0)
  end


It still hasn't changed.... I have essentially said, shrink to nothing, move here, line height 0...(im being dramatic in my changes to see if it will change) and NOTHING.....can some one scream at me, what im doing wrong >_>

-- figured it out, thread reported

This post has been edited by Adrien.: Jan 3 2012, 02:03 PM


__________________________



Games I am working on | Each image is a link to the game
Go to the top of the page
 
+Quote Post
   
kaz
post Jan 3 2012, 02:05 PM
Post #2


I ate the previous bunny - nom nom!
Group Icon

Group: Director
Posts: 5,734
Type: None
RM Skill: Beginner
Rev Points: 250




Closed by request of the OP


__________________________

Stuff and Awards








Thanks X-M-O for the WTF award















and fearoftheunknown's tribute-bunny
Go to the top of the page
 
+Quote Post
   

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 22nd May 2013 - 06:54 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker