forked from endernon/PGRData
7 lines
302 B
Lua
7 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
|
|
|