forked from endernon/PGRData
8 lines
302 B
Lua
8 lines
302 B
Lua
|
local XHomeCharSetStayOffsetNode = XLuaBehaviorManager.RegisterNode(XLuaBehaviorNode, "HomeCharSetStayOffest", CsBehaviorNodeType.Action, true, false)
|
||
|
function XHomeCharSetStayOffsetNode:OnEnter()
|
||
|
if self.AgentProxy:SetStayOffset() then
|
||
|
self.Node.Status = CsNodeStatus.SUCCESS
|
||
|
end
|
||
|
end
|
||
|
|