PGRData/Script/matrix/xhome/xdorm/xhomechar/xhomecharnode/XHomeCharSetInteractOffsetNode.lua

6 lines
No EOL
320 B
Lua

local XHomeCharSetInteractOffsetNode = XLuaBehaviorManager.RegisterNode(XLuaBehaviorNode, "HomeCharSetInteractOffset", CsBehaviorNodeType.Action, true, false)
function XHomeCharSetInteractOffsetNode:OnEnter()
if self.AgentProxy:SetInteraterPosOffest() then
self.Node.Status = CsNodeStatus.SUCCESS
end
end