forked from endernon/PGRData
9 lines
346 B
Lua
9 lines
346 B
Lua
|
local XHomeCharInteractNode = XLuaBehaviorManager.RegisterNode(XLuaBehaviorNode, "HomeCharInteract", CsBehaviorNodeType.Action, true, false)
|
||
|
|
||
|
function XHomeCharInteractNode:OnEnter()
|
||
|
if self.AgentProxy:InteractFurniture() then
|
||
|
self.Node.Status = CsNodeStatus.SUCCESS
|
||
|
else
|
||
|
self.Node.Status = CsNodeStatus.FAILED
|
||
|
end
|
||
|
end
|