后端Lua
全部技术档案
后端Lua
cfg_magicinfo 这个表是干嘛用的
后端Lua
cfg_magiccustom 这个表是干嘛用的
后端Lua
cfg_magic 这个表是干嘛用的
前端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
开始的时候 全部图标是会显示的 点击折叠才会有缩放 淡入 淡出动画
前端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
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
玩家第一次进入游戏的判断是那个函数
前端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