obj
Hyrule_Temple
icon = 'Hyrule Temple Icon.dmi'
icon_state = "Stage 1"
New(client/c)
screen_loc="5,14"
c.screen+=src
Click()
for(var/obj/T in usr.client.screen)
world << "[usr] has joined the clash in the hyrule temple."
usr.hyruletemple = 1
usr.loc = locate(11,14,1)
del(T)
obj
Lylat_Cruise
icon = 'Hyrule Temple Icon.dmi'
icon_state = "Stage 2"
New(client/c)
screen_loc="6,14"
c.screen+=src
Click()
for(var/obj/T in usr.client.screen)
world << "[usr] has joined the clash on Lylat Cruise."
usr.loc = locate(56,10,1)
del(T)//deletes them
return
Problem description: I'm trying to get both of these codes so that when you click on the icon it teleports you to the destination then deletes all the huds on the screen. All help appreciated. Thanks.
~Element Hero creator
Anyway, something you could do to get this effect is just set the screen variable to null or empty list, if you're sure you want to remove everything from it.