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

11 lines
390 B
Lua
Raw Normal View History

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