[SOLVED] Change Encounter Message/Terms mid-game

Hi there, I am working on a game where it is necessary to change the Encounter message temporarily so that instead of seeing "(enemy name) emerged!" For a specific battle, you instead see: "(variable 1 value) sent out (enemy name)!" Any help, advice, scripts, etc. would be great.
You can use a script call before the battle begins:
$dataSystem.terms.messages.emerge = $gameVariables.value(ID);
But I think this will not be saved in the save file. I Did not test with the battle, But I have success changing the options labels.
You can use a script call before the battle begins:
$dataSystem.terms.messages.emerge = $gameVariables.value(ID);
But I think this will not be saved in the save file. I Did not test with the battle, But I have success changing the options labels.
This seems like it would work well for my purposes. But, looking at the script, it seems like the only battle message that would be shown would be the variable, but, again, I have yet to test it.
What do you mean by options labels? Also, when I put the script into the game, it just doesn't show a encounter message whatsoever.
I don't think I understand you correctly. I think you want to chamge the encounter message when enter in a battle, right?
If so, I think is that one, it should work.

Also, optios label, I mean the command names in options: Always dash, bgm volume... Etc.
If you type $dataSystem.terms in the console you will see all the system messages there and you can choose what you will change.
I don't think I understand you correctly. I think you want to chamge the encounter message when enter in a battle, right?
If so, I think is that one, it should work.

Also, optios label, I mean the command names in options: Always dash, bgm volume... Etc.
If you type $dataSystem.terms in the console you will see all the system messages there and you can choose what you will change.
Yes, I want to change the encounter message temporarily for specific battles. Thanks for clearing up what you meant by options label. Could there be possible plugins that would interfere with this script? Because I put the script right before a battle handling with a troop, and when the battle began, there was no message of any sort. Not even an empty box showed up.
It works just fine, I have tested it here. I think you are doing something wrong.
L68N9Iz.png
Yeah, I went back and tried it like you. It still has the same effect. This time I filmed it, too! It wouldn't fit on this post, so I linked it here. There is a GIF showing what I did and a photo of the code.
Well, if you do exactly like and didn't work, it's probably a plugin. But let me see your entire event(how you add the value to the variable). Because in the link you post contains only one line and the gif/video.
In my other event, I had it so when you touch the event, it changes variable 1 to the string "Blue" and variable 2 to 5, 6, or 7.
Send me the screenshot of your event... but I think this is a plugin conflict.
Here's a screenshot of my variable event:
MCREVENGE.png

and here's my plugins:
costume8.png
I feel like an idiot. I went into my Yanfly battle engine and saw that encounter messages were off. I turned them on and it works well now, although it only shows a variable. Is there a way to join strings and values in scripts?
I made a few modifications to your script and it works! This problem is solved!

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.

Original thread: https://forums.rpgmakerweb.com/threads/solved-change-encounter-message-terms-mid-game.120241/