Obtain Event's Sprite Filename

Status
Not open for further replies.

Rink27

Veteran
Veteran
Joined
Jul 18, 2014
Messages
222
Reaction score
13
First Language
English
Primarily Uses
RMMV
Is it possible to retrieve an event's current sprite filename? (such as "Nature", "Evil", "Monster", etc) [and also its sprite index number]

Something like:
Code:
$gameMap.events[this._eventId].spriteFilename
(above doesn't work)
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
39,138
Reaction score
12,412
First Language
English
Primarily Uses
RMMV
$gameMap.event(this._eventId)._characterName
$gameMap.event(this._eventId)._characterIndex

I think. Don't have MV with me so can't check right now.
 

Rink27

Veteran
Veteran
Joined
Jul 18, 2014
Messages
222
Reaction score
13
First Language
English
Primarily Uses
RMMV
Yes, both work. Thank you.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
21,844
Reaction score
11,059
First Language
English
Primarily Uses
RMVXA
[closed]IgnoreMe[/closed]
 
Status
Not open for further replies.

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

Latest Threads

Latest Posts

Latest Profile Posts

I feel that I should cut down on my order queue so I can get some more time for my projects, its been quite a longggg while since I worked on them LOL
I friend of mine insisted on practicing dubbing things with him... and its quite funny, yet, it really takes a huge amount of practice!
Gotta save this for my next thread later...
Finsh all of the walking dead game in a week, such an amazing emotional trip
I really need to stop sidetracking sometimes

Forum statistics

Threads
97,872
Messages
947,516
Members
129,107
Latest member
waybinary
Top