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

11 lines
No EOL
396 B
Lua

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