forked from endernon/PGRData
11 lines
No EOL
386 B
Lua
11 lines
No EOL
386 B
Lua
|
|
---@class XRestaurantRandomPathNode : XLuaBehaviorNode
|
|
---@field AgentProxy XRestaurantCharAgent
|
|
local XRestaurantRandomPathNode = XLuaBehaviorManager.RegisterNode(XLuaBehaviorNode,
|
|
"RestaurantRandomPath", CsBehaviorNodeType.Action, true, false)
|
|
|
|
|
|
function XRestaurantRandomPathNode:OnEnter()
|
|
self.AgentProxy:DoRandomPath()
|
|
self.Node.Status = CsNodeStatus.SUCCESS
|
|
end |