View Full Version : Open Doors
mounty
01-30-2012, 05:29 PM
someone no how too make the script too open doors?
Flappy Joe
01-30-2012, 05:47 PM
FU DarkstaR
DarkstaR
01-30-2012, 05:47 PM
This isn't conventional, but it will work until I add in the functionality:
make a waypoint like this
~waypoints
Node Next, To, Door
DoorFake:
Ladder On, Door, Pos
FakeTest:
Stand On, Door, Pos
Continue:
~waypoints
Then in a .LUA script, do this:
When DoorFake hits, Sleep(500) then gotoLabel("FakeTest"). This will allow the Ladder script to click "use" on the door, but skip past the check to see if you change floors.
When FakeTest hits, sleep(500) and then check if your position == the doors position. If so, to gotoLabel("Continue"). This will continue the script if you are on the doors pos. If your position != the doors pos, go back to DoorFake to use the door again.
This is very sloppy and unconventional, but it will work. However, within 2 days or so, the scripter will have this functionality built in and it won't really matter :P
Syntax
01-30-2012, 07:55 PM
This isn't conventional, but it will work until I add in the functionality:
make a waypoint like this
~waypoints
Node Next, To, Door
DoorFake:
Ladder On, Door, Pos
FakeTest:
Stand On, Door, Pos
Continue:
~waypoints
Then in a .LUA script, do this:
When DoorFake hits, Sleep(500) then gotoLabel("FakeTest"). This will allow the Ladder script to click "use" on the door, but skip past the check to see if you change floors.
When FakeTest hits, sleep(500) and then check if your position == the doors position. If so, to gotoLabel("Continue"). This will continue the script if you are on the doors pos. If your position != the doors pos, go back to DoorFake to use the door again.
This is very sloppy and unconventional, but it will work. However, within 2 days or so, the scripter will have this functionality built in and it won't really matter :P
When I tried ladders on levers it bugged out because I assumed it checked for floor a change. It worked fine on sewer grates but not on a lever, it would just got back and forth.
mounty
01-30-2012, 09:31 PM
ty i will try
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.