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

6 lines
320 B
Lua
Raw Normal View History

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