RPG Maker VX Ace

RPG Maker VX Ace

データを表示:
Check event graphic's name?
Is there a script call to find the sprite/character sheet name of an event's graphic? I have several events that I would like to run off the same common event, but do different actions/sound fx based on their character graphic (using conditionals of course).

I assume something close to the change graphic script call:

$game_map.events[id].set_graphic("character_name", character_index) # id is the id of the event you want to change. # "character_name" is the name of the graphic file you want to change to (make sure to keep the quotation marks). # character_index is the index on the character sheet (it starts counting at 0).
< >
1-5 / 5 のコメントを表示
$ game_map.events[ID].character_name and character_index should do the trick.
Pujii 2014年12月22日 19時44分 
Alright, thanks!
Hajami 2014年12月23日 2時17分 
CP の投稿を引用:
$ game_map.events[ID].character_name and character_index should do the trick.
Nice, thanks for sharing, RGSS3 Commands are always very usefull.
95%+ of my time in RPG Maker is spent in the script editor so I get to know these things pretty well. :P
I can't properly set this up in a condition branch.
I've tried many different combinations with no luck.

$ game_map.events[258].People1 and 1
$ game_map.events[258].People1, 1
$ game_map.events[ID].character_People1 and character_1
< >
1-5 / 5 のコメントを表示
ページ毎: 1530 50