RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Renaming Events Script

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 82
This one should be pretty easy. I'm using a script that displays a name over specified events with "[FS]" in there name. Unfortunately, there is no way to turn that off in game. So, when I kill an enemy or need something to go invisible, the name is still displayed. All I need to do is have the event name "Wolf[FS]" change to "Wolf". I know this can be fixed with one a one line script, I just can't figure out what the exact command is. I tried looking through the script editor, but I couldn't decipher what actually named the events.

For those of you looking for a bit more of a challenge, I'd also like to be able to change the font style/color that is displayed for floating event names (such as red text over difficult enemies, green text for friendly units, or bold letters for boss names).
The floating event name script is part of a compilation posted by Woratana, if you want to take a look at it.
http://www.rpgmakervx.net/index.php?showtopic=7797&st=0&p=75607&#entry75607

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
Well, you could try my Character Hover Graphics script; it's a little more involved since you have to specifically do a call script command for every event that you want to put a thing over, but you can turn it off at any time and set font and colour as well.

While giving the ability to change the name of an event through scripting is not hard, it's harder than you think it is since event names are stored in the data files. This means that you shouldn't directly alter them since changing them would alter them for all save files. What needs to be done is set up a new hash in-game that will save with save files and have them contain the altered names. It's not overly difficult, but it is more than a one line script. Anyway, if the Character Hover Graphics doesn't work out for you, I can write it for you.

**
Rep: +0/-0Level 82
This is perfect, thanks a million!