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

11 lines
396 B
Lua
Raw Normal View History

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