UGCProjects/SoloKing/Script/gamemode/Action_GameOver.lua

21 lines
558 B
Lua
Raw Permalink Normal View History

2025-01-04 23:00:19 +08:00
local Action_GameOver = {
-- 可配置参数定义参数将显示在Action配置面板
-- 例:
-- MyIntParameter = 0
}
-- 触发器激活时将执行Action的Execute
function Action_GameOver:Execute(...)
UGCLogSystem.Log("[Action_GameOver:Execute] 所有玩家退出,关闭服务器~")
return true
end
--[[
-- 需要勾选Action的EnableTick才会执行Update
-- 触发器激活后将在每个tick执行Action的Update直到self.bEnableActionTick为false
function Action_GameOver:Update(DeltaSeconds)
end
]]
return Action_GameOver