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

6 lines
No EOL
269 B
Lua

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