ID:156748
Aug 2 2010, 1:27 pm
|
|
I already have the graphics of each side of the die. What I want to know is how do I show the result of each die graphically in the chat window. I would prefer to have the dice side by side in the chat if that is possible but i could work with them being vertical. I have looked in many places but could not find any help. Any advice or direction would be greatly appreciated
|
Aug 2 2010, 1:45 pm
|
|
http://www.byond.com/ members/?command=reference&path=DM%2Ftext%2Fmacros%2Ficon
|
In response to Garthor
|
|
Garthor wrote:
http://www.byond.com/ members/?command=reference&path=DM%2Ftext%2Fmacros%2Ficon Thanks for the link but I am still having trouble figuring out where I need to put the file with my icons and where I need to put the state. Could you let me know where in the syntax I am supposed to place this information? |
In response to Remaru
|
|
That link even provides concrete examples.
I'll (intentionally) provide you with a bad and ugly way to do what you said, in the hope that you show the desire to learn and actually reread the link provided to get a good one. src << "You rolled a <IMG SRC=\ref['dice.dmi'] ICONSTATE='[rand(1,6)]'>" |
In response to Schnitzelnagler
|
|
Thank you for showing me the syntax. The link did give examples, but it did not show the single quotes around the icon file which is where I was having my problem. It's the small details that I didn't get from the link. It's kind of hard to use information if there are things that are supposedly understood before hand
|