Hi. Currently struggling a ton with trying to implement something that I thought was simple, but seems like it isn't. What I want to do is have it so when the ring menu is open (using the plugin TMRingCommand), the player's charset changes. I've tried using button common event plugins, script calls, everything. If someone can please help me out with this, I'd really appreciate it.
MV Help using TMRingCommand
Javascript/Plugin SupportWhen you want help with a plugin it helps to post the plugin
That said, the easiest way to accomplish this is through editing/patching the plugin itself. I assume it's like most other menus and you cant run a common event while it's open.
Could you try putting under AudioManager.playSe(seOpenCommand); on line 507
where id is the actor's id number, characterName is their name in ' ' marks, and index is the index of the character image you want to set it to?
then again under AudioManager.playSe(seCloseCommand); (line 528)
the same script, except with characterName and index set to your original values?
That said, the easiest way to accomplish this is through editing/patching the plugin itself. I assume it's like most other menus and you cant run a common event while it's open.
Could you try putting under AudioManager.playSe(seOpenCommand); on line 507
JavaScript:
$gameActors.actor(id).setCharacterImage(characterName, index);
$gamePlayer.refresh();
then again under AudioManager.playSe(seCloseCommand); (line 528)
the same script, except with characterName and index set to your original values?
This worked brilliantly, thank you so much! Sorry for not attaching the plugin in the first place, I was kind of rushing when making this post.
Ah, wait - I did run into one issue. If you enter another menu and then close it from there, your player character remains in the thinking pose. Is there any other way to fix this?
(Edit: Nevermind, figured it out. All I had to was set the character set right before when each scene is loaded.)
Original thread: https://forums.rpgmakerweb.com/threads/help-using-tmringcommand.162674/