RPG Maker Forums

Hi all,

New to javascript and RMMV, I've been trying to get the current image for the event to use for messageboxes, etc.
I think there's some kind of scoping issue where the script is run from the interpreter not events but I cannot for the life of me get this to work.


this.image was my first guess, but then hit the scoping issue, so tried using the event-id but I keep getting undefined functions and being unable to get properties so guessing I'm still going wrong somewhere.

Any help would be appreciated.
 


EDIT: Resolved, was using all pages rather than one from the array, fixed now. :)

Latest Threads

Latest Posts

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,040
Messages
1,018,470
Members
137,821
Latest member
Capterson
Top