ID:148138
 
ok, that's a really lame topic name but anyhow. I have a problem with my cycling through techniques on a HUD based interface. I know it's cycling through the list which contains objs and such, but...it's NOT showing the obj up on my HUD at ALL.

        tech1
layer=MOB_LAYER+100
icon='hud.dmi'
icon_state="attackleft"
New(client/C)
screen_loc="6,2"
C.screen+=src
proc
Update(var/obj/techniques/O,mob/M)
var/obj/techniques/I=new(O)
M.client.screen+=I
I.screen_loc="7,2"
Click()
if(!usr.Attack_Down())
return
else
src.Update(usr.attacks[usr.currentattack],usr)
>                           
> Update(var/obj/techniques/O,mob/M)
>
> var/obj/techniques/I=new(O)
> M.client.screen+=I// <----
> I.screen_loc="7,2" // <----
>
>


Have you tried setting the screen_loc BEFORE adding the object to the screen. I don't remember if it's important, but worth a shot.
In response to sapphiremagus
na, no go...I've talked to Jot he's tried it before, even HE'S had troubles... :-S
Bump(post/P)
if(P.lastpost>=1)
world<<"<b>Hey, any more ideas!?</b>"
return ..()