So I have created a brand new NPC that will be selling fashion costumes and jewelry sets that we have created. The NPC dialog works perfectly but when the NPC store opens, it is completely blank. It shows none of the new tabs that I have created in list_sell.stb for this NPC. The lua script is shown below and I have also linked the NPC to these tabs. I have provided some screenshots of of the stbs and the NPC in game below:
NPC In Game:
NPC Dialog:
NPC Empty Shop:
SELL STB:
NPC STB:
LUA SCRIPT:
NPC In Game:
NPC Dialog:
NPC Empty Shop:
SELL STB:
NPC STB:
LUA SCRIPT:
Code:
-- =========================================
function AT_store ( hID )
local iObject
iObject = QF_getEventOwner( hID )
local specialFlag
specialFlag = 1
-- 4¹ø »óÁ¡ÅÇ(½ºÆä¼ÈÅÇ)Àº º¸Åë ÀϹÝÅÇÀ¸·Î »ç¿ëÇÏ°í, Ưº°ÇÑ npc ¸¸ ½ºÆä¼ÈÅÇÀ¸·Î »ç¿ëÇÔ
-- ÀϹÝÅÇ(specialFlag = 1), ½ºÆä¼ÈÅÇ(specialFlag=0, Á¶°ÇüũÇؼ ¸Â´Â°æ¿ì¸¸ 1·Î º¯°æ)
GF_openStore( iObject, specialFlag )
end
-- =========================================
Attachments
You must be registered for see attachments list