forked from endernon/PGRData
11 lines
390 B
Lua
11 lines
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
|