var/obj/unit/FlameTower/ft = src;
if(ft.oFlame == null)
ft.oFlame = new/obj/flame;
ft.oFlame.dir = get_dir(ft, m);
ft.oFlame.loc = locate(7, 16, 1)
walk_to(ft.oFlame, m.loc)
This is my buggy scenario which results in a single animation. X is the flame thrower. m is the mob. T is turf.
XTT <- locate(5, 18, 1) which is on top of the flamethrower
TmT
TTT
This scenario results in continuous animations per tick
XTT
TmT
TTF <-- locate(7, 16, 1)
Why would moving the flame to the other location work? My flame is of course backwards in this "working scenario" but it shows that there is something quirky going on.
ts