PGRData/Script/matrix/xrestaurant/xnode/XRestaurantSetStartPointNode.lua

11 lines
401 B
Lua
Raw Normal View History

2024-09-01 20:49:41 +00:00
---@class XRestaurantSetStartPointNode : XLuaBehaviorNode
---@field AgentProxy XRestaurantCharAgent
local XRestaurantSetStartPointNode = XLuaBehaviorManager.RegisterNode(XLuaBehaviorNode,
"RestaurantSetStartPoint", CsBehaviorNodeType.Action, true, false)
function XRestaurantSetStartPointNode:OnEnter()
self.AgentProxy:DoSetStartPoint()
self.Node.Status = CsNodeStatus.SUCCESS
end