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

11 lines
No EOL
386 B
Lua

---@class XRestaurantHideEffectNode : XLuaBehaviorNode
---@field AgentProxy XRestaurantCharAgent
local XRestaurantHideEffectNode = XLuaBehaviorManager.RegisterNode(XLuaBehaviorNode,
"RestaurantHideEffect", CsBehaviorNodeType.Action, true, false)
function XRestaurantHideEffectNode:OnEnter()
self.AgentProxy:DoHideEffect()
self.Node.Status = CsNodeStatus.SUCCESS
end