The RPG Maker Resource Kit

RMRK RPG Maker Creation => VX Ace => Topic started by: yuyu! on August 20, 2015, 07:08:16 AM

Title: [Solved] RGSS3 - Load pictures in scripts?
Post by: yuyu! on August 20, 2015, 07:08:16 AM
Does anyone know how to load pictures within scripts?

I'm using pictures for message window backgrounds and a script for name boxes (MA's ATS Message Options). I have two different text box pictures, one for when the name box is on the left, and another for when the name box is on the right. So, I'd like to see if its possible to draw a picture within the ATS script whenever the name box changes. If there was a way to script call the "show picture" event while in scripts, that would be perfect. ;_; I have a common event that erases the picture at the end of the dialogue anyways.

I used to have this all running through events, but changing the box between the dialogue got to be really annoying. I've managed to set up most of my dialogue system to be automatic and through the script now...everything except the picture loading. My brain is melting over this. ;9
Title: Re: RGSS3 - Load pictures in scripts?
Post by: yuyu! on August 20, 2015, 10:10:50 PM
Yay! I figured it out. :-)

I was using "screen.pictures[7].show("TextboxL", 0, 0, 0, 100, 100, 255, 0)" within the script, when I should have been using this:

"$game_map.screen.pictures[7].show("TextboxL", 0, 0, 0, 100, 100, 255, 0)"
Title: Re: [Solved] RGSS3 - Load pictures in scripts?
Post by: AbsoluteIce on August 21, 2015, 11:26:19 AM
yay, yu rock  ;8
Title: Re: [Solved] RGSS3 - Load pictures in scripts?
Post by: pacdiggity on August 21, 2015, 11:57:17 AM
you silly goose

every little girl knows that it's $game_map.screen.pictures[n]

everyone laugh at yuyubabu
Title: Re: [Solved] RGSS3 - Load pictures in scripts?
Post by: AbsoluteIce on August 21, 2015, 12:34:11 PM
you silly goose

every little girl knows that it's $game_map.screen.pictures[n]

everyone laugh at yuyubabu
you silly head
yuyubabe isn't a little girl
yuyubabe is little monster
ahahahahahahahahahaha

pacman why you change naem 2 paccles, u so fani
Title: Re: [Solved] RGSS3 - Load pictures in scripts?
Post by: pacdiggity on August 21, 2015, 03:54:04 PM
pacman why you change naem 2 paccles, u so fani
i had a personality shift and i had to change my user profile on an online forum to reflect that i no longer identify as "Pac-man-kin."

also i had just become a moderator and felt the need to abuse my power but didn't want to inconvenience anyone (except irock's alt) so this was a nice way to do that.
Title: Re: [Solved] RGSS3 - Load pictures in scripts?
Post by: yuyu! on August 21, 2015, 05:21:51 PM
am I a scriptir nao
Title: Re: [Solved] RGSS3 - Load pictures in scripts?
Post by: pacdiggity on August 21, 2015, 05:47:02 PM
am I a scriptir nao
no, you need to earn seven links of a chain from the citadel to be considered a true scripter
Title: Re: [Solved] RGSS3 - Load pictures in scripts?
Post by: yuyu! on August 21, 2015, 06:06:10 PM
curses, the patriarchy strikes again