The RPG Maker Resource Kit
RMRK RPG Maker Creation => VX Ace => Topic started 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
-
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)"
-
yay, yu rock ;8
-
you silly goose
every little girl knows that it's $game_map.screen.pictures[n]
everyone laugh at yuyubabu
-
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
-
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.
-
am I a scriptir nao
-
am I a scriptir nao
no, you need to earn seven links of a chain from the citadel to be considered a true scripter
-
curses, the patriarchy strikes again