forked from endernon/PGRData
11 lines
401 B
Lua
11 lines
401 B
Lua
|
|
||
|
---@class XRestaurantDestroyEffectNode : XLuaBehaviorNode
|
||
|
---@field AgentProxy XRestaurantCharAgent
|
||
|
local XRestaurantDestroyEffectNode = XLuaBehaviorManager.RegisterNode(XLuaBehaviorNode,
|
||
|
"RestaurantDestroyEffect", CsBehaviorNodeType.Action, true, false)
|
||
|
|
||
|
|
||
|
function XRestaurantDestroyEffectNode:OnEnter()
|
||
|
self.AgentProxy:DoDestroyEffect()
|
||
|
self.Node.Status = CsNodeStatus.SUCCESS
|
||
|
end
|