script call for show picture possible?

Monkey BizNiz

Veteran
Veteran
Joined
Apr 22, 2017
Messages
229
Reaction score
29
First Language
Not English
Primarily Uses
RMMV
Hey fellas,

Id like to know if its possible to show pictures through a script, and if so - what the proper commands are for: show picture, move picture, rotate picture, tint picture, and delete picture. The main reason I want to do this is because id like to make the picture number variable, but i think there can be other eventual advantages aswell.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,367
Reaction score
7,676
First Language
German
Primarily Uses
RMMV
Please search the forum.

There is a topic that lists the script equivalent of every single event command.
 

Monkey BizNiz

Veteran
Veteran
Joined
Apr 22, 2017
Messages
229
Reaction score
29
First Language
Not English
Primarily Uses
RMMV
Doh! i actually already knew about that list, but it totally slipped my mind. Thanks for pointing it out.

Edit:
@Andar
actually ive stumbled on another problem:

Ive filled the script in as this:
◆Script:$gameScreen.showPicture(1, "Item_11", "Center", 600, 300, 100, 100, 255, "Normal")

Which is supposed to be identical as this:
◆Show Picture:#1, Item_11, Center (600,300), (100%,100%), 255, Normal

But when i use it, it gives the error:
TypeError
Cannot read property '0' of undefined

What am i doing wrong?
 
Last edited:

dahlys

Meatbun
Veteran
Joined
Aug 28, 2017
Messages
95
Reaction score
99
First Language
English
Primarily Uses
RMMV
Code:
$gameScreen.showPicture(1, "Item_11", 1, 600, 300, 100, 100, 255, 0)
upper left is 0, center is 1
Normal is 0, additive is 1, multiply is 2, screen is 3
 

Monkey BizNiz

Veteran
Veteran
Joined
Apr 22, 2017
Messages
229
Reaction score
29
First Language
Not English
Primarily Uses
RMMV
Code:
$gameScreen.showPicture(1, "Item_11", 1, 600, 300, 100, 100, 255, 0)
upper left is 0, center is 1
Normal is 0, additive is 1, multiply is 2, screen is 3
thank you sir.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,090
Members
137,587
Latest member
Usagiis
Top