Main Menu
  • Welcome to The RPG Maker Resource Kit.

[Solved] RGSS3 - Load pictures in scripts?

Started by yuyu!, August 20, 2015, 07:08:16 AM

0 Members and 1 Guest are viewing this topic.

yuyu!

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

[Spoiler=My Games and Art]
ℒℴѵℯ❤


My Artwork Thread

The Lhuvia Tales [Current]

Ambassador [Complete]

The Postman [Complete]

The Wyvern [Complete]

Phoenix Wright: Haunted Turnabout [Complete]

Major Arcana [Cancelled]

[/Spoiler]

yuyu!

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)"

[Spoiler=My Games and Art]
ℒℴѵℯ❤


My Artwork Thread

The Lhuvia Tales [Current]

Ambassador [Complete]

The Postman [Complete]

The Wyvern [Complete]

Phoenix Wright: Haunted Turnabout [Complete]

Major Arcana [Cancelled]

[/Spoiler]

AbsoluteIce

なんでやねん

pacdiggity

you silly goose

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

everyone laugh at yuyubabu
it's like a metaphor or something i don't know

AbsoluteIce

Quote from: paccles 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
you silly head
yuyubabe isn't a little girl
yuyubabe is little monster
ahahahahahahahahahaha

pacman why you change naem 2 paccles, u so fani
なんでやねん

pacdiggity

Quote from: AbsoluteIce on August 21, 2015, 12:34:11 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.
it's like a metaphor or something i don't know

yuyu!


[Spoiler=My Games and Art]
ℒℴѵℯ❤


My Artwork Thread

The Lhuvia Tales [Current]

Ambassador [Complete]

The Postman [Complete]

The Wyvern [Complete]

Phoenix Wright: Haunted Turnabout [Complete]

Major Arcana [Cancelled]

[/Spoiler]

pacdiggity

Quote from: yuyu! on August 21, 2015, 05:21:51 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
it's like a metaphor or something i don't know

yuyu!


[Spoiler=My Games and Art]
ℒℴѵℯ❤


My Artwork Thread

The Lhuvia Tales [Current]

Ambassador [Complete]

The Postman [Complete]

The Wyvern [Complete]

Phoenix Wright: Haunted Turnabout [Complete]

Major Arcana [Cancelled]

[/Spoiler]