I got a copy of RMVXa on Steam recently, so I am returning to it after a long hiatus. Unfortunately I have forgotten what little I know about using RGSS so I get to start all over again.
What I want to do is create a custom window type for when the player finds an item or gold, from opening a chest or examining a box or something. "Found (icon) Potion x 1" sort of thing. I want to be able to call said window type from a Script event command, and be able to plug in arguments for X/Y position, height and width, the item id, and the amount gained.
An example would be something like: Window_ItemFind (280,220,80,40,3,1)
The window would appear, persist for something like 1.5 seconds, then disappear.
Unfortunately I don't know enough about syntax and what actually needs to go into a new module in order to get it to work. I know programming basics (variables, if statements, etc) and that a new window module would have to inherit the properties of an existing module (like Window_Base), but that's about it.
Can anyone help or point me to something relevant to what I'm looking for?
What I want to do is create a custom window type for when the player finds an item or gold, from opening a chest or examining a box or something. "Found (icon) Potion x 1" sort of thing. I want to be able to call said window type from a Script event command, and be able to plug in arguments for X/Y position, height and width, the item id, and the amount gained.
An example would be something like: Window_ItemFind (280,220,80,40,3,1)
The window would appear, persist for something like 1.5 seconds, then disappear.
Unfortunately I don't know enough about syntax and what actually needs to go into a new module in order to get it to work. I know programming basics (variables, if statements, etc) and that a new window module would have to inherit the properties of an existing module (like Window_Base), but that's about it.
Can anyone help or point me to something relevant to what I'm looking for?