obj/NPCs
density = 1
layer=MOB_LAYER
New()
src.AddName()
src.overlays += 'QuestMark.dmi'
Indian
icon='NPCs.dmi'
icon_state = "Chief"
name = "Chief"
Click()
set category=null
if(src in oview(1))
winset(usr,"QuestInfo","pos=400,400;is-visible=true")
winset(usr,"QuestInfo.QuestText","text=\"Hello!\"")
..()
I made this so far. Is it possbile to make that winset window will open next to npc on screen for everyone no matter what what screen resolution they have.
You would need to loop through all mobs, then check for clients and then winset()/winshow() to show the screen. OR you can loop through all clients and just do the same thing, I just don't like looping through clients.