ID:179176
 
How do you force the icon size to BIG when Login() to the game?? I'm looking for code to do this when someone logs in.

LJR
LordJR wrote:
How do you force the icon size to BIG when Login() to the game?? I'm looking for code to do this when someone logs in.

If you mean the client's map view, there isn't a way.

If you mean in text output, you need to use the <IMG> tag directly instead of the \icon macro, or else use the <BIG> tag around your image and set a style sheet as shown in the client/script reference. Me, I prefer the raw HTML:
mob
Login()
..()
world << "<IMG SRC=\ref[icon] CLASS=icon WIDTH=32 HEIGHT=32> [name] has logged in."

Lummox JR
In response to Lummox JR
oh.. no it was the 1st one.. Dantom should enable us to over right the default starting icon size. Instead of it forcing it to small.

LJR
In response to LordJR
LordJR wrote:
oh.. no it was the 1st one.. Dantom should enable us to over right the default starting icon size. Instead of it forcing it to small.

The view will always force itself to small if it's too big for the client's screen size. The best way around that is to use a smaller world.view.

Lummox JR