grendal
07-11-2016, 03:25 PM
elseif (labelName == "DoorEnter") then
Self.OpenDoor(33010,31537,10) -- X,Y,Z Door Position.
wait(500,800)
Self.Step("Direction")
wait(500,800)
Self.Step("Direction")
wait(500,800)
if Self.Position(). y == 31536 then -- 2 steps from closed door
-- BTW if u go south/north or East/west change X for Y)
return
else gotoLabel("BeforeDoor")
end
I do everything as it should be , and always goes back to Label BeforeDoor. Anyone help how to use this please.
Self.OpenDoor(33010,31537,10) -- X,Y,Z Door Position.
wait(500,800)
Self.Step("Direction")
wait(500,800)
Self.Step("Direction")
wait(500,800)
if Self.Position(). y == 31536 then -- 2 steps from closed door
-- BTW if u go south/north or East/west change X for Y)
return
else gotoLabel("BeforeDoor")
end
I do everything as it should be , and always goes back to Label BeforeDoor. Anyone help how to use this please.