STATUS: ONLINE | DISPLAYING 15 ITEMS PER PAGE
前端Lua

function GUI:getui(parent) return GUI:ui_delegate(parent) end local ui = GUI:getui(root) 如何获取ui里面有哪些控件名

前端Lua

地图事件需要先清理吗?

后端Lua

我一个自定义装备穿上了之后脱不下来,还会显示无法取下,是什么原因

前端Lua

local switch_map = {} local MainButton = SL:Require("GUILayout\\2_TopLayout\\L_MainButton.lua", true) function switch_map:main() -- 检查MainAssist是否初始化 if not MainAssist or not MainAssist._ui then SL:Print("MainAssist未初始化") ret

前端Lua

attempt to concatenate field 'Button_' (a nil value)

前端Lua

变量相连怎么写

后端Lua

怎么设置宝宝可以同时召唤神兽 召唤圣兽 召唤月灵同时存在? 现在学了3种技能 但只能召唤一种 M2上有可以设置的地方吗?

前端Lua

local MainButton = {} MainButton.cfg = { { but_id = "id1", x = 230, y = -270, but_img = "res\\custom\\top/20.png", cmd = { 1, 0, 0 } }, } -- 检查明天是否是周五、六、日 function MainButton:checkTomorrowIsWeekend() SL:Print("--------------",SL:GetMetaValue

前端Lua

local MainButton = {} MainButton.cfg = { { but_id = "id1", x = 230, y = -270, but_img = "res\\custom\\top/20.png", cmd = { 1, 0, 0 } }, } -- 检查明天是否是周五、六、日 function MainButton:checkTomorrowIsWeekend() SL:Print("--------------",SL:GetMetaValue

前端Lua

local root = GUI:bg('win') GUI:jiazaiui(root,212) local ui = GUI:getui(root) local GUI = GUI function GUI:bg(id) local x ,y = SL:GetMetaValue("SCREEN_WIDTH")/2,SL:GetMetaValue("SCREEN_HEIGHT")/2 local win = GUI:Win_Create

TXT语法专家

local MainButton = {} MainButton.cfg = { { but_id = "id1", x = 230, y = -270, but_img = "res\\custom\\top/20.png", cmd = { 1, 0, 0 } }, } -- 检查明天是否是周五、六、日 function MainButton:checkTomorrowIsWeekend() SL:Print("--------------",SL:GetMetaValue

后端Lua

学习了召唤神兽 骷髅就召不出来了 怎么同时召唤2种?

前端Lua

GUI:addOnClickEvent(ui.Button_1,function() SL:print(config[1]) end) GUI:addOnClickEvent(ui.Button_2,function() SL:print(config[2]) end) GUI:addOnClickEvent(ui.Button_3,function() SL:print(config[3]) end) GUI:addOnClickEvent(ui.Button_4

前端Lua

怎么获取组件的标签

前端Lua

for i = 1, 5 do local btn = GUI:getChildByName(ui, 'Button_'..i) GUI:addOnClickEvent(btn,function() SL:print(config[i]) end) end GUI:addOnClickEvent(ui.Button_1,function() SL:print(config[1]) end) GUI:addOnClickEvent(ui.Butto