纯lua端,SL:RequestNPCTalk(115) 调用txt文本npc咋不生效
-- Create Button_Chonglocal Button_Chong = GUI:Button_Create(Layout_content, "Button_Chong", 517.00, 1.00, "res/mio/private/main/topbutton/zaixianchongzhi.png")
GUI:Button_loadTextureDisabled(Button_Chong, "res/mio/private/main/topbutton/zaixianchongzhi.png")
GUI:Button_setTitleText(Button_Chong, "")
GUI:Button_setTitleColor(Button_Chong, "#ffffff")
GUI:Button_setTitleFontSize(Button_Chong, 14)
GUI:Button_titleEnableOutline(Button_Chong, "#000000", 1)
GUI:addOnClickEvent(Button_Chong, function (); if true then SL:RequestNPCTalk(115) end end)
GUI:setTouchEnabled(Button_Chong, true)
GUI:setTag(Button_Chong, -1)
页:
[1]