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

6 lines
No EOL
334 B
Lua

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