I wanted to change the name of the event with script
but I can't find any script regarding this...
does someone know how to do this?
I don't think you can... and I don't think it would be advisable, either. Considering the high likelihood you'll have events referencing other events (move events, etc.), you don't want to risk breaking the references through some automated script.
thnx for the reply. then is there no way to change the event's name no matter what? 🙁
I'm trying to use the eventID name to appear differently somehow..
Events are part of the map files, and all map files are read-only.
Theoretically you could write a script that will change the data structure to save the data elsewhere ingame, but that could cause a lot of problems if done wrong, and it would never change the editor behaviour.
Please tell us what you want to use that option for, what your ingame use of such a change would be - then we may be able to point you to a better way.
I wanted to display some texts above the event like a talk box.. so I found Iarva event popup plugin but this one seemed to place the texts in very random places so I wanted to use the name of event to appear above it to show like a text but this one won't matter if I can't change the name... therefore, I got no idea to show talk box above the events .. 🙁
there are a lot of possible solutions, but we need more info to help - for example a link to the scripts you tried, and what exactly your problem with them is.
To change the name of the event, you would need to create a new object, keyed by map id and event id, that contains the name. It would have to belong to one of the classes (eg Game_System) that is saved with a player's save file, so it doesn't get reset when they close the game, and does get reset when they save a game, go to the main menu and start a new game. It would have to have mods to look up the name each time the map is loaded.
But I have to ask why would you want to rename the event? The player never sees the event, and any time you refer to the event, you do it by event id, which doesn't change.
oh because I am using a plugin that allow me to show the event name as a text above that event. I'm not necessarily insisting on using this plugin . I just want to show dialogue texts above the events so I can show like a talk bubble box above the events. but I couldn't find any regarding scripts. One I found was Iarva event popup plugin in the rmmv JS plugin release which doesn't allow me to show the texts in right positions.they're kinda random. and change positions when screen is zoomed in.
I wanted another way to do this with steady display text above the event. could you suggest some ways to show text bubbles above events? if so thank you!
One way or another, you'll need some kind of scripting. So either a mod to the plugin you've got so it uses something other than the event's name, or a new plugin to allow you to change it.
You could also have two events - one with the original name and conditions so that it only shows while you want that name applied, and another with the new name, and conditions so it only shows after the new name is applied. You can use a parallel process event that moves them onto the same tile then erases itself, to make it look like they're the same event. That way you won't need any further scripts or script mods.
that makes sense. If I'm to use only certain dialogues, that is a good way. I think I'll do that! thnx for the tip! 🙂