Raccon1815

Villager
Member
Joined
Feb 2, 2022
Messages
8
Reaction score
0
First Language
English
Primarily Uses
RMMV
Hi I was wondering if anyone knew how to make it so I can use the event id number as the picture id number, as in if Event was number one then it would be Picture id 1 and if event was number 2 it would be picture id 2 so on and so forth, I've tried it my self with not much success
$gameScreen.showPicture(($gameMap.event(this.eventId())), "Cube 1", 1, 100, 100, 100, 100, 255, 0);
Is this close to what I should be trying or should I try a different call all together, any help is appreciated.
 

Aerosys

Regular
Regular
Joined
Apr 23, 2019
Messages
1,045
Reaction score
1,107
First Language
German
Primarily Uses
RMMZ
You have been pretty close, I just fixed one tiny piece for you!

Code:
$gameScreen.showPicture(this.eventId(), "Cube 1", 1, 100, 100, 100, 100, 255, 0)
 

Raccon1815

Villager
Member
Joined
Feb 2, 2022
Messages
8
Reaction score
0
First Language
English
Primarily Uses
RMMV
You have been pretty close, I just fixed one tiny piece for you!

Code:
$gameScreen.showPicture(this.eventId(), "Cube 1", 1, 100, 100, 100, 100, 255, 0)
Thanks it works perfectly.
 

Latest Threads

Latest Profile Posts

Huge breakthrough! I finally fixed the dimensions on the WEBM used in the cinematic that ends the demo and introductory segment in MC:RIS, around the one-minute mark:



(There's some audio desync because the capture is an MP4.)
Kudos to everyone making game jam games, because this month has been hell for my development time. I have made a cutscene, 2 sprites, and 1 tile.

I guess I've made conceptual progress in hammering out combat roles and having fixes to be implemented (though I haven't done that yet)
Yeah, it’s a status #3, but it’s just to let y’all know I think I’m gonna have to do a twofer on the Advent compilation tomorrow. I feel like butt. Have a fever. I want to descend into my crypt.
I hope Baldur's Gate 3 wins BIG at TGA tonight. Tales of Arise was the last game to inspire me and BG3 has MASSIVELY surpassed that!
One day someone will build independent items for MZ. ONE DAY!

Forum statistics

Threads
136,818
Messages
1,270,385
Members
180,579
Latest member
AxlCrow1
Top