var/obj/T= new ; T.appearance = src ; T.color="red"
var/icon/I = new/icon(src.icon,src.icon_state)
I.Blend(rgb(255,255,255))
T.icon = I
T.pixel_x +=8
var/matrix/M = matrix(); M.Scale(1.2) ; T.transform = M
src.underlays+=T.icon
Problem description:
https://sc-cdn.scaleengine.net/i/ aea3f842940bd2e6418ae36231f53bb7.png
https://sc-cdn.scaleengine.net/i/ a8f70ecae845eadbe4495aa99308f3f01.png
Hi i have problem. I don't know how to repair my code. I try to made mmorpg outline character(when is target) and now I have problem becouse I need add to undrelays "T.icons"
src.underlays+=T.icon
becouse if i add simple my "T" my auto layering code dont work for it.
So where is my problem, problem is resize "outline" icon, becouse it resize object, no icon (I think).
var/matrix/M = matrix(); M.Scale(1.2) ; T.transform = M
Is posibe to resize only icon, or somethink?
Sory for my poor english.