PGRData/Script/matrix/xhome/xdorm/xhomefurniture/xhomefurniturenode/XHomeFurnitureHideNode.lua

6 lines
No EOL
273 B
Lua

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