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

11 lines
396 B
Lua
Raw Permalink Normal View History

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