Status
Not open for further replies.

Speedvore

RPG Making since RM95!
Veteran
Joined
Oct 3, 2015
Messages
39
Reaction score
12
First Language
English
Primarily Uses
RMMZ
Hi, I'm having some trouble fully understanding how macros/text code actions/replacements work in the VisuStella Message Core plugin (currently using version 1.21), after reading through the wiki/troubleshooting pages, and was hoping someone could help clarify for me!

I'm trying to create a new text code that basically prints multiple text codes, so instead of having to type \c[15]\WindowMoveTo<620,800> in every text box, I could just type \dialogue and it would apply both of those codes (+ potentially more in the future) to my text box.

Under Text Macros, I've tried to add "dialogue" as the Match and return '\c[15]\WindowMoveTo<620,800>'; as the JS: Text in a new parameter, but it doesn't seem to be applying these codes like it does when I manually type them in a text box. It simply prints that text into the text box instead.

VisuStellaImage.png

Can someone help point me in the right direction for what I might be doing wrong?
 

Lostboy

Veteran
Veteran
Joined
Aug 25, 2018
Messages
31
Reaction score
23
First Language
English
Primarily Uses
RMMZ
You'd have to write [dialogue] instead of \dialogue and you should enter your code into the STR: Text tab.
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
3,699
Reaction score
2,800
First Language
English
Primarily Uses
RMMZ
Edit: Lostboy is right:


To use a text macro, type in the matching keyword between two [brackets] and it will be replaced by the string data or run the JavaScript code found in the Plugin Parameter settings.
 

Speedvore

RPG Making since RM95!
Veteran
Joined
Oct 3, 2015
Messages
39
Reaction score
12
First Language
English
Primarily Uses
RMMZ
You'd have to write [dialogue] instead of \dialogue and you should enter your code into the STR: Text tab.

This works perfectly now, thank you so much for the clarification! :cutesmile:
 

Lostboy

Veteran
Veteran
Joined
Aug 25, 2018
Messages
31
Reaction score
23
First Language
English
Primarily Uses
RMMZ
You're welcome!
 

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
8,703
Reaction score
5,752
First Language
Dutch
Primarily Uses
RMXP

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Latest Threads

Latest Profile Posts

PSA: please stop putting the word 'Eternal' in your game titles.
RMMZ: "Simple enough for a child!"
also RMMZ: "What, you're trying to make an RPG and you didn't know about Euler angles?"
I kinda spent the day having my own little gamejam and came up with this Catastrophe!

GZOq45s.png
Have Defeated Enemy Join Party as Actor, Show Passage Status, & MZ-Chan Art | RPG Maker News #107

My outfit at Metrocon. It was fun.

Forum statistics

Threads
113,625
Messages
1,076,286
Members
147,638
Latest member
Zachimera
Top