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.
RPGMakerXP: Ingame windows question

0 Members and 1 Guest are viewing this topic.

*
Meet me in the middle
Rep:
Level 89
or left of the dial.
For frequently finding and reporting spam and spam botsSecret Santa 2012 Participant
As the title reads, how do you do it? Is it possible? To be more descriptive, basically I want a window that pops up ingame when you select a certain choice from an NPC or character.

Example : I talk to a custom Blacksmith I've created, and I select an option, lets say to make a mythrill sword. I would want a window to show-up showing what I need to create the weapon, how much gold, and the buttons etc...

I know it would require scripting but I'm not familiar with Ruby and the RPGXP scripting face.

Also, I know it could probably be done using events and text. But with all the variables and conditional branches, etc...I would get confused. (As if I won't get confused with the script, hah).
« Last Edit: June 29, 2007, 08:40:17 PM by Lac »

**
Rep:
Level 87
can you be even MORE descriptive? =p  do you want a window to pop up when you have it highlighted, or after you have selected it?

The song stuck in my head this week is: Aerosmith - Dream On

*
Meet me in the middle
Rep:
Level 89
or left of the dial.
For frequently finding and reporting spam and spam botsSecret Santa 2012 Participant
After I've selected the option.

**
Rep:
Level 87
leme try to make a no-need-to-edit-the-script-window script (one you activate+make with the event "[Script...]") Ill keep you up-to-date.

in progress...

sorry nothing yet, but you could always use pictures
« Last Edit: June 29, 2007, 10:22:57 PM by Reddawg »

The song stuck in my head this week is: Aerosmith - Dream On

*
Meet me in the middle
Rep:
Level 89
or left of the dial.
For frequently finding and reporting spam and spam botsSecret Santa 2012 Participant
leme try to make a no-need-to-edit-the-script-window script (one you activate+make with the event "[Script...]") Ill keep you up-to-date.

in progress...

sorry nothing yet, but you could always use pictures
Anyone else know how to do this?

**
Rep:
Level 87
it shouldnt be difficult, I just dont know the language. someone who does just needs to make an activatable script like @gold_window = window_whatever.new and change the window_whatever parameters like location and size in the right place, using cx to get the text's size to adjust properly to what's needed (dunno if that's necessary).  I could probably do it myself, but it would be un adjustable to a certain extent unless you knew how to adjust properly =p

would you want that?

EDIT* well too bad I already made it lol, here you go! I hope you can absorb that or whatever

http://reddawg.freepgs.com/Popup%20Window%20Demo.exe

message in the scripting located as "Window_Popup"

EDIT* I can easily change this to your liking, out of boredom here's what I got now

« Last Edit: June 30, 2007, 02:35:09 AM by Reddawg »

The song stuck in my head this week is: Aerosmith - Dream On

*
Meet me in the middle
Rep:
Level 89
or left of the dial.
For frequently finding and reporting spam and spam botsSecret Santa 2012 Participant
EDIT: Nevermind, I read your comments in the script.
EDIT 2: Holy shit, I'm conpuzzled. ._.

Uh, correct me if I'm wrong, but that's only one script. I need to be able to use atleast 10. SO if I use that for all of them, I can only use the text that I insert in the script?

Or can I make separate scripts and change the script event in the event object?

« Last Edit: June 30, 2007, 03:27:44 AM by Lac »

**
Rep:
Level 87
just copy it, change the Window_Popup parts to something else like Window_Poopup, and the script event must be @gold_window = Window_Poopup.new
that's it

EDIT* oh yeah and to get rid of the window put @gold_window.dispose
« Last Edit: June 30, 2007, 02:30:29 PM by Reddawg »

The song stuck in my head this week is: Aerosmith - Dream On