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

11 lines
No EOL
401 B
Lua

---@class XRestaurantSetGreenPointNode : XLuaBehaviorNode
---@field AgentProxy XRestaurantCharAgent
local XRestaurantSetGreenPointNode = XLuaBehaviorManager.RegisterNode(XLuaBehaviorNode,
"RestaurantSetGreenPoint", CsBehaviorNodeType.Action, true, false)
function XRestaurantSetGreenPointNode:OnEnter()
self.AgentProxy:DoSetGreenPoint()
self.Node.Status = CsNodeStatus.SUCCESS
end