PGRData/Script/matrix/xrestaurant/xnode/XRestaurantSetStartPointNode.lua
2024-09-01 22:49:41 +02:00

11 lines
No EOL
401 B
Lua

---@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