obj/HUD/HumanBody
Human
layer=MOB_LAYER+50
mouse_opacity=0
icon='TargetIcon.dmi'
icon_state="Human"
screen_loc="1,4"//18, 19
LeftFoot
layer=MOB_LAYER+50
mouse_opacity=2
icon='TargetIcon.dmi'
icon_state="10"
screen_loc="1,4"
Click()
usr.CurrentTarget="LFoot"
src.icon_state="LFoot"
LeftLeg
layer=MOB_LAYER+50
mouse_opacity=2
icon='TargetIcon.dmi'
icon_state="9"
screen_loc="1,4"
Click()
usr.CurrentTarget="LLeg"
src.icon_state="LLeg"
Problem description:Whenever I click the hud object on screen. The left foot lights up, but whenever I try clicking other parts of the body. LeftLeg it doesn't switch, I'm not sure why though.