obj
HUD
var
client/client
mousefade = 0
ppx
ppy
New(client/c,px,py,f, mob/Combative/Player/M)
..()
client = c
screen_loc = "[px],[py]"
client.screen += src
ppx = px
ppy = py
if(f)
alpha = 0
mousefade = 1
animate(src,alpha=200,10)
SKILLCARDS
SELECTED_SKILL
icon = 'Selected.dmi'
layer = MOB_LAYER + 100
New(client/c,loc)
..()
client = c
screen_loc = loc
client.screen += src
BLANK_SKILLCARD
icon = 'BlankSkill.dmi'
layer = MOB_LAYER + 98
var
selected = FALSE
number
New(client/c,n,px,py)
..()
var
ppx = px+1
ppy = py+1
pppy = py-1
nn = n+1
client = c
screen_loc = "[px]:16,[py]:16"
client.screen += src
number = n
mousefade = 1
alpha = 175
if(number <= 9)
if(number/2 == round(number/2))
new/obj/HUD/SKILLCARDS/BLANK_SKILLCARD(client,nn,ppx,ppy)
else
new/obj/HUD/SKILLCARDS/BLANK_SKILLCARD(client,nn,ppx,pppy)
sleep(TICK)
Problem description:
So I haven't been able to wrap my head around how to make it so I can drop and drag GUIs into this, it's like one of the only things left to mess around with until my games pretty much ready for some testing and I figured I'd see if someone could help me xD
My skills are all under obj/GUI/ I don't really know how to make it so I can drag them either :/ so yeah I'm a bit stuck xD
Would be a good place to start