TXT语法专家
全部技术档案
后端Lua
mapinfo 的参数如何加
后端Lua
unction login(actor) setbagcount(actor,120) delaygoto(actor, 500, "ylh,", 0) iniplayvar(actor, "integer", "HUMAN", "复活倒计时") include("QuestDiary/ylh/自定义属性.lua"):main(actor) include("QuestDiary/ylh/装备按钮.lua"):main(actor) lo
后端Lua
我要登录触发的时候,背包格子设置为120
后端Lua
StartQuest 全服提问格式
前端Lua
GUIUtil.lua -- 键盘按下 local function pressedCB() SL:Print("接收到键盘事件------------------addKeyboardEvent") SL:Require("GUILayout/1_Layout_npc/L_movenpc", true) SL:Require("GUILayout/GUIUtil", true) SL:Require("GUILayout/GUI", true) -- 测
前端Lua
GUIUtil.lua
后端Lua
local isMobile= tonumber(getconst(actor, "<$CLIENTFLAG>")) or 1 local tk = "" -- 先声明tk变量 if isMobile == 2 then tk = "<ListView|x=500.0|y=80.0|width=85|height=395|children={hq106,hq107,hq108,hq109,hq110,hq111,hq112,hq113,hq114,hq115,hq116,h
后端Lua
function diybutton.bag(actor) local isMobile= tonumber(getconst(actor, "<$CLIENTFLAG>")) or 1 if isMobile == 2 then tk = "<ListView|x=500.0|y=80.0|width=85|height=395|children={hq106,hq107,hq108,hq109,hq110,hq111,hq112,hq113,hq114,hq115,hq11
前端Lua
local GUI = GUI SL:print("GUI加载成功") function GUI:npcUi(id) SL:Print("=====================",id) if not id or type(id) ~= "string" then SL:Print("[ERROR] readUI: 路径需要为字符串") return nil end local path1 = "GUIExport/1_Ex
后端Lua
local tk = "<ListView|x=493.0|y=80.0|width=85|height=395|color=255|children={hq106, hq107, hq108,hq109,hq110,hq111,hq112,hq113,hq114,hq115,hq116,hq117,hq118,hq119,hq120}|bounce=0|margin=1|reload=0|cantouch=1>" -- 装备106 local X106 = 0
前端Lua
[LUA-print] stack traceback: [string "scripts/main.lua"]:14: in function '__index' [string "GUILayout/1_Layout_npc/L_movenpc.lua"]:16: in function 'main' [string "GUILayout/GUIUtil.lua"]:32: in function 'handler' [stri
后端Lua
local tk = "<ListView|x=493.0|y=80.0|width=85|height=395|color=255|children={hq106, hq107, hq108,hq109,hq110,hq111,hq112,hq113,hq114,hq115,hq116,hq117,hq118,hq119,hq120}|bounce=0|margin=1|reload=0|cantouch=1>" -- 装备106 local X106 = 0
后端Lua
clicknpc(play, npcid, sScript) 这个路径sScript是什么参数 怎么显示出来
后端Lua