Log in

View Full Version : How to use this script ?



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.

Oscagi
07-11-2016, 03:36 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.

Label = BeforeDoor
Stand = InfrontDoor
Label = OpenDoor


Self.OpenDoor(XXXX, YYYY, Z)

-- Depends, if u go north/south or west/east.
-- (Y AXIS) (X AXIS)
-- Self.Position().y == YYYY -2 Self.Position().x == XXXX -2



IDK, if I explain it properly.
Any dubt PM, or add me on skype.

grendal
07-11-2016, 05:18 PM
Bro this script work 100%? Maybe have you other script for open doors checker? When doors are in pos (33010,31537,10) and i go north than y==31535