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.
[VXA] Icon/Color display in battle when selecting target.

0 Members and 1 Guest are viewing this topic.

*
Rep: +0/-0Level 58
RMRK Junior
if I gave a monster name an Icon, such as \i[50]Slime. His name displays in battle with the appropriate icon. BUT, when I choose Attack or go to select an enemy to hit, it doesn't display the icon, it says \i[50]Slime instead of showing the Icon and the slimes name. This does the same if I try to change the color of an enemy's text, \c[20]Slime, etc.

Does anyone know how to fix this? I would imagine it's probably not too terrible of an issue, but if it could be addressed that would mean wonders to me as my battle system revolves around being able to see an icon next to an enemies name.

I've also tried Modern Algebra's ATS script but that didn't address the issue either.

Anyone have any ideas?

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Best Member2012 Best RPG Maker User (Scripting)2012 Favorite Staff Member2012 Most Mature MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Veteran2011 Favourite Staff Member2011 Most Mature Member2011 Best RPG Maker User (Scripting)2011 Best Use of Avatar and Signature Space2010 Most Mature Member2010 Favourite Staff Member
My Global Text Codes script might work. You would need to add a \* to the name as well though.

*****
my name is Timothy what's yours
Rep:
Level 79
Hello
2014 Most Missed Member2014 Zero to Hero2014 Best IRC Quote2012 Zero To HeroSecret Santa 2012 ParticipantContestant - GIAW 9For frequently finding and reporting spam and spam bots2011 Zero to Hero
This should work for all text codes in that specific window.
Code: [Select]
class Window_BattleEnemy < Window_Selectable
  def draw_item(index)
    change_color(normal_color)
    name = $game_troop.alive_members[index].name
    r = item_rect_for_text(index)
    draw_text_ex(r.x, r.y, name)
  end
end
it's like a metaphor or something i don't know