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

6 lines
No EOL
269 B
Lua

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