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

11 lines
No EOL
396 B
Lua

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