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

6 lines
324 B
Lua

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