在GameGuru MAX(Lua)中展示和隐藏实体

我是LUA的新手,我正在尝试展示一个隐藏的实体,但我认为我做错了什么。我可以调用声音效果,但不能调用实体?

非常感谢任何帮助

    g_plrinzone = {}

function plrinzone_init(e)
end

function plrinzone_main(e)
 if g_Entity[e]['plrinzone']==1 then
  PlaySound(e,0)
  Show(e,lightning)
    Destroy(e)
  PerformLogicConnections(e)
 end
end

原文链接 https://stackoverflow.com/questions/70254292

点赞