Using a variable to display an Item Icon

GoodSelf

Zhu Li! Do the thing!
Veteran
Joined
Jul 23, 2016
Messages
593
Reaction score
1,115
First Language
English
Primarily Uses
RMMV
Im using the Select Item event command to set an item to a variable.
My question is, can I display the icon of that item only using that variable?
I could have a bunch of conditional branchs that checks the variable for each possible item and displays the correct icon for it, but that would take forever as the intention is to have multipe items being selected.

\ii[14] This displays the icon and name of item id 14.
\v[24] This displays variable 24.
What I'm looking for, is something that does this:
\ii[\v[24]]

Is this possible with eventing without have a long list of conditional branches for each option as I detailed before?
Thanks for your help!

EDIT:
I got the system to work by showing a string, but it still doesn't display the variable, only the name of the item. This will suffice for now, but I'm interested to see if Icon's can be done as well.
 
Last edited:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,047
Members
137,569
Latest member
Shtelsky
Top