作为 Lua 的初学者,如果这个问题的答案很简单,我很抱歉。我试图在代码中调用一个函数,但经过 2 小时的搜索,我找不到想要的结果。(也许我使用了错误的搜索查询?)
示例代码
function Test123 ()
SayTest = True
if SayTest = True then
-- This Is where I want to call the function name Test123,
-- yet I can't seem to succeed in this since it is just
-- starting a new function
SystemNotice ( role, function)
end
end
这应该是结果:
function Test123 ()
SayTest = True
if SayTest = True then
SystemNotice ( role, 'Test123')
end
end
如果有人可以帮助我,我将不胜感激。如果我仍然不清楚,请告诉我,我会尝试更好地描述它。我为我有限的英语找借口。