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

11 lines
No EOL
390 B
Lua

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