IF check for an event's image

ginfubawuba

Villager
Member
Joined
Dec 1, 2017
Messages
26
Reaction score
5
First Language
English
Primarily Uses
RMMV
I want a conditional branch that checks if an even uses a certain image.
what do I type into the script box?
 

glaphen

Veteran
Veteran
Joined
Jan 13, 2019
Messages
326
Reaction score
120
First Language
English
Primarily Uses
RMMV
Code:
$gameMap.event(EVENTID)._characterName === "Insert filename without png inside quotes";
If the check is inside event you can use
Code:
$gameMap.event(this._eventId)._characterName
 

ginfubawuba

Villager
Member
Joined
Dec 1, 2017
Messages
26
Reaction score
5
First Language
English
Primarily Uses
RMMV
Code:
$gameMap.event(EVENTID)._characterName === "Insert filename without png inside quotes";
If the check is inside event you can use
Code:
$gameMap.event(this._eventId)._characterName
Works great, thank you!
 

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

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,049
Messages
1,018,547
Members
137,835
Latest member
yetisteven
Top