RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
(RMVXA) pop_window.hpt

0 Members and 1 Guest are viewing this topic.

*
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Rep:
Level 96
&&&&&&&&&&&&&&&&&&&&&&&&&&&
GIAW 14: 2nd Place (Hard Mode)2013 Biggest Drama Whore2013 Zero to HeroParticipant - GIAW 11Secret Santa 2013 ParticipantFor taking arms in the name of your breakfast.
This is what I have far as this moment. I'm using "SceneManager.call(Scene_Menu)".

Code: [Select]
#--------------------------
# This does stuff, I think.
#--------------------------

class Window_Popup < Window_Base
  #--------------------------------------------------------------------------
  # Main screen turn on
  #--------------------------------------------------------------------------
  def initialize
    super(0, 0, window_width, fitting_height(1))
    self.windowskin = Cache.system("MenuWindow1")
    refresh
  end
  #--------------------------------------------------------------------------
  # How whide is it?
  #--------------------------------------------------------------------------
  def window_width
    return 160
  end
  #--------------------------------------------------------------------------
  # refreshments
  #--------------------------------------------------------------------------
  def refresh
    contents.clear
    process_draw_icon(1, 300)
  end
  #--------------------------------------------------------------------------
  # don't know what to put here...
  #--------------------------------------------------------------------------
  def process_draw_icon(icon_index, pos)
    draw_icon(icon_index, pos[24], pos[24])
  end
  #--------------------------------------------------------------------------
  # idkmybffjill
  #--------------------------------------------------------------------------
  def open
    refresh
    super
  end
end

Code: [Select]
  #-----------------
  #This pops things ups dawg
  #-----------------

class Scene_Popup < Scene_Base
  def start
    super
    create_popup_window
  end
  #-----
  def terminate
    super
    dispose_background
  end
  #-----
  def create_popup_window
    @popup_window = Window_Popup.new
    @popup_window.x = 0
    @popup_window.y = Graphics.height - @popup_window.height
   
  end
end

Now I just need to fiqure out how to change the "1" in "process_draw_icon(1, 300)" to something I can change with events.

Along those lines, how do I add a ingame variable to a script? Is it something like "Print v[1]" or am I way off?

EDIT: Tried "print $game_actors[$game_variables[10]]", that didn't go well. .__.
&&&&&&&&&&&&&&&&

*
*crack*
Rep:
Level 64
2012 Best Newbie2012 Most Unsung MemberFor frequently finding and reporting spam and spam bots
If you called "print $game_actors[$game_variables[10]]"
before the game even started up then that's your problem.

Otherwise that is correct.
All of my scripts are totally free to use for commercial use. You don't need to ask me for permission. I'm too lazy to update every single script post I ever made with this addendum. So ignore whatever "rule" I posted there. :)

All scripts can be found at: https://pastebin.com/u/diamondandplatinum3