ID:165787
 
well,I'm trying to figure out how to show the player's icon,icon_state,overlays and underlays before the text the players says.

for example:

Meta says:blah blah

now to add the pic

[player icon]Meta says:blah blah

Thanks in advance

-Meta
For this one, you should use the Text macro \icon

Eg:
mob/verb/say(n as text)
if(!n)return//if nothing entered
view(src)<<"\icon[src.icon] [src.name] says: [n]"


As the note states for that text macro:
Note that the \icon macro does not work in the mini-browser; it is only for text output. To make icons appear in an HTML document, use browse_rsc() to send an icon to the client before using browse() to display it.


To make it work in browser(), look at [link] and it's subsequent replies.

- GhostAnime
In response to GhostAnime
Yeah thanks for that,but only one thing.how would I make it show src's icon along with src's underlays and overlays in text output?
In response to Metamorphman
I thought it did that.. but if it doesn't (as I didn't use that icon text macro for a VERY long time), I' go with how Android Data did it with Blend in [link] ( up till the browse_rsc part)

- GhostAnime