whitevo
Feeling good, thats what I do.
Code:
local npcCID = getNpcCid()
local npc = Npc(npcCID)
npc:setSpeechBubble(SPEECHBUBBLE_QUEST) -- tried numbers too
npc is userdata and it is correct one.
It doesn't do anything with bubbles
local npcCID = getNpcCid()
local npc = Npc(npcCID)
npc:setSpeechBubble(SPEECHBUBBLE_QUEST) -- tried numbers too
what do you mean if i run the same code?https://github.com/otland/forgotten...ta/npc/lib/npcsystem/npchandler.lua#L355-L373
If you run the same code, you should be able to use the creature userdata as a parent insted of npcCID.
what do you mean if i run the same code?
what do you mean by parent?
the userdata is correct though, I can make the npc say, remove and do stuff with this userdata, expect making the speechbubbles work.
Oo you were right.It does work, but it won't be visible unless you walk out of the screen (or logout).