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]Adding Icons to Everything

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 55
RMRK Junior
Is it possible to insert icons on Terms and script line? Yanfly's command icon works perfect, but it doesn't insert Icon on some database terms such as HP, MP, and stats. So, does anyone have idea to insert them? Thank you.

*
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Rep:
Level 96
&&&&&&&&&&&&&&&&&&&&&&&&&&&
GIAW 14: 2nd Place (Hard Mode)2013 Zero to Hero2013 Biggest Drama WhoreParticipant - GIAW 11Secret Santa 2013 ParticipantFor taking arms in the name of your breakfast.
Code: [Select]
  def process_draw_icon(icon_index, pos)
    draw_icon(icon_index, pos[:x], pos[:y])
    pos[:x] += 24
  end

Line 324-327 of Window_Base.
« Last Edit: June 22, 2013, 05:23:17 AM by Lord Stark »
&&&&&&&&&&&&&&&&

*
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 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
You wouldn't really want to use that unless you were modifying the scripts directly and using the draw_text_ex method.

If you just want a script to do it, then my Global Text Codes script will do the trick.

It allows you to use the \I[n] text code in any terms anywhere as long as you also put a \* in the same field. For example, to add an icon to HP, you would just need to go to that term in the database and make it:

\*\i[32] HP

Replace the 32 with the index of whatever icon you want to use.

**
Rep: +0/-0Level 55
RMRK Junior
That's exactly what I'm looking for, solved!