GSServer-CBT/soggy_resources/lua/Actor/Gadget/Q466Trigger4.lua

31 lines
821 B
Lua
Raw Permalink Normal View History

2022-11-21 11:30:31 +03:00
require('Actor/ActorCommon')
local gadgetActorProxy = require('Actor/Gadget/GadgetActorProxy')
local Q466trigger4 = class("Q466trigger4", gadgetActorProxy)
Q466trigger4.defaultAlias = "Q466trigger4"
local q466Cfg = require('Quest/Client/Q466ClientConfig')
function Q466trigger4:OnPostDataPrepare()
end
function Q466trigger4:OnPostComponentPrepare()
self:AddComponentTrigger(60, DistType.EULER, M.Pos(0, 0.8, 0), self.TriggerIn, self.TriggerOut)
end
function Q466trigger4:TriggerIn()
end
function Q466trigger4:TriggerOut()
--print("Exit " .. tostring(outCnt))
--self:DestroySelf()
print("Out Q466trigger4")
self:NarratorOnlyTask(q466Cfg.NarratorData.Story6)
--[[ local quest = actorMgr:GetActor(q466Cfg.ActorAlias)
if quest ~= nil then
quest:FinishQuest(true, nil)
end ]]
end
return Q466trigger4