前端Lua
前端Lua
前端Lua
local MainTop = {} SL:print("=========MainTop加载成功!") -- 顶部按钮配置数据(示例) local Topui = { { name = "id1", x = 0.64, y = -30, res = "res/custom/tops/1.png", cmd = {1234, 5011} }, -- 首冲 { name = "id2", x = 0.57, y = -30, res = "res/custom/tops/2
前端Lua
local MainTop = {} SL:print("=========MainTop加载成功!") -- 顶部按钮配置数据(示例) local Topui = { { name = "id1", x = 0.64, y = -30, res = "res/custom/tops/1.png", cmd = {1234, 5011} }, -- 首冲 { name = "id2", x = 0.57, y = -30, res = "res/custom/tops/2
前端Lua
function MainTop.main() ---创建界面 调整界面所在的位置 local topwin = GUI:Win_Create("NPC_Window", SL.w, SL.h) local topui = GUI:Node_Create(topwin, "topui", 1, 1) if not topwin then return end -- 遍历配置创建按钮 for _, button in ipairs(Topui)
前端Lua
[LUA-print] LUA ERROR: target is nil value [LUA-print] stack traceback: [string "scripts/GUI/GUI.lua"]:101: in function 'CheckIsInvalidCObject' [string "scripts/GUI/GUI.lua"]:1959: in function 'Image_loadTexture' [string "GUIL
前端Lua
[2026/4/12 8:52:54] Print:当前项链星级:,2 [2026/4/12 8:52:54] Print:1,////////////////,金币 [2026/4/12 8:52:54] Print:升级成功: 项链星级从2提升到3 --前端开始]] local npc = {} npc.CONFIG = { MSG_ID = 10006, --通信协议号 UI_NAME = "xianglian1", --UI界面的名称 NEEDMO
前端Lua
ActionEaseExponentialIn(action)怎么用
前端Lua
ActionBezierTo(time, controlPoint_1, controlPoint_2, endPosition)怎么用
前端Lua
ActionEaseBackIn(action)怎么用
前端Lua
ActionRepeat(action, time)怎么用
前端Lua
绑定主玩家是什么意思
前端Lua
我是后端点击按钮 想打开其他玩家的属性面板 要怎么配合SL:OpenPlayerBaseAttrUI(11)使用
前端Lua
SL:OpenPlayerBaseAttrUI(11) 怎么知道打开谁的面板
前端Lua
local function networkCB(msgID, p1, p2, p3, msgData) SL:OpenOtherPlayerUI() end SL:RegisterLuaNetMsg(1002, networkCB) mseData 是 32860000A3860000601A7D086F010000 怎么打开其他玩家的属性面板
前端Lua