PGRData/Script/matrix/xhome/xdorm/xhomechar/xhomecharnode/XHomeCharHideEffectNode.lua

6 lines
269 B
Lua
Raw Normal View History

local XHomeCharHideEffectNode = XLuaBehaviorManager.RegisterNode(XLuaBehaviorNode, "HomeCharHideEffect", CsBehaviorNodeType.Action, true, false)
function XHomeCharHideEffectNode:OnEnter()
self.AgentProxy:HideEffect()
self.Node.Status = CsNodeStatus.SUCCESS
end