Garthor wrote: > You need to use the \ref text macro to actually place it there, and you need to fulfill a few weird conditions.
No weird conditions as far as I know, all you need to do is supply any kind of proper reference to an available icon. ID:704164
> The alternative is to use \ref[fcopy_rsc(icon())]. You cannot just use \ref on the icon() proc directly
That would be because it returns an /icon object, and not an icon file.
> as the icon has to be used before it will be displayable, for whatever reason.
It's not the problem here, but that is actually almost the case; a new icon produced with an /icon object isn't copied to the RSC until you try to do something with it, at which point fcopy_rsc() is implicitly invoked (for example, when you do atom.icon = icon(...)) so the icon can actually be used and received by players. Usually you wouldn't care about all that though, seeing as it's always done automatically in the typical situations. |
|