is there a plugin that allows you to set switches on/off or set variable numbers within text code commands? i want to have a sprite of a character talking with their mouth as a separate and have them only speak while text is coming up on screen.
MV Plugin to set variables in Show Message
JS Plugin Requests
Hakuen Studio Message Actions for RPG Maker MZ by Hakuen Studio
Add several new escape codes to the windows!
hakuenstudio.itch.io
doesn't seem to work
Code:
◆Control Variables:#0091 Kanna talk = 4
◆Text:None, Window, Bottom
: :Kanna?!
◆Control Variables:#0091 Kanna talk = 1
◆Text:None, Window, Bottom
: :\n<Kanna>\."Kanna is talking!"\CSSW[34, 18, 91, 4]
just to explain what the variable is basically there's a parallel event changing the variables giving it the illusion of the character talking. although the variable never changes back to 4 leaving the character always yapping their mouth.
Code:
◆If:Kanna talk = 4
◆Comment:just having this to make sure i know when it's set to 4
◆Text:None, Window, Bottom
: :1
◆
:Else
◆Control Variables:#0091 Kanna talk = 2
◆Wait:10 frames
◆Control Variables:#0091 Kanna talk = 1
◆Wait:10 frames
◆Control Variables:#0091 Kanna talk = 3
◆Wait:10 frames
◆
:End
although this might be because im using MV and as it's said in the page it's not supported to the most recent version
You're not using the plugin commands right. Those aren't valid arguments for that command.
▪ \CSSW[mapId, eventId, switchId, flag] → If mapId or eventId are equal to 0,
it will select the current map/event. If you ommit the flag, it will be
considered false.
I don't think you want to use that command anyway? You said you wanted to change a variable or swtich within a text box, not a self switch.
crap i was using the one for a switch instead of a variable, thats my bad.
still doesn't work, for i put a "\V[n]" afterwards with the variable number but for whatever reason its stuck at 3?
Code:
◆Control Variables:#0091 Kanna talk = 4
◆Text:None, Window, Bottom
: :Kanna?!
◆Control Variables:#0091 Kanna talk = 1
◆Text:None, Window, Bottom
: :\n<Kanna>\."Kanna is talking!"\CVAR[91, =, 4]
◆Text:None, Window, Bottom
: :\v[91]
You know there are plugins that will just do this automatically, right?
forums.rpgmakerweb.com
HMS: Animated Faces
Looking for a plugin that let's you create animated talking faces during a message? Designed with ease-of-use in mind so you don't need to mess around with plugin parameters or script calls or anything. Just select a face picture in your messages as you normally would and it'll automatically...
forums.rpgmakerweb.com
this seems more for faces and not character sprites
I haven't looked at the code, but it is very possibly compatible with plugins that display busts/characters in the place of faces.
And if not, it's probably less work to tweak the code than to add sets of code into every dialogue box in your game.
Or there may be something else that does what you're specifically looking for more natively...this was literally the first result that came up when I Googled it.
Just putting it out there.
And if not, it's probably less work to tweak the code than to add sets of code into every dialogue box in your game.
Or there may be something else that does what you're specifically looking for more natively...this was literally the first result that came up when I Googled it.
Just putting it out there.
i was able to figure a work around with a switch instead, plus it isn't for every dialogue box its just for a scene. either way please rephrase the things you say before posting because this feels super condescending and very unhelpful
Original thread: https://forums.rpgmakerweb.com/threads/plugin-to-set-variables-in-show-message.161003/