Kantik Posted April 11, 2011 Posted April 11, 2011 Can someone write a script where you could set that as the door opened every 24 hours. I just know that it can be done via a script + global_tasks. I will be grateful for any advice. Quote
0 Matim Posted April 11, 2011 Posted April 11, 2011 I won't do everything for you, since its not marketplace, but request HELP not ready code section. So here is code to open doors: private static void openDoors(List<Integer> doors) { for (int doorId : doors) { L2DoorInstance doorInstance = DoorTable.getInstance().getDoor(doorId); if (doorInstance != null) { doorInstance.openMe(); } } } Just create proper LIST with door ID's which should be opened, and create proper task for it (task manager is explained, use search) Quote
0 Tryskell Posted April 12, 2011 Posted April 12, 2011 w00t, such function exists already... For ToI and eva doors. Check DoorTable, checkAutoOpen() method. Quote
Question
Kantik
Can someone write a script where you could set that as the door opened every 24 hours. I just know that it can be done via a script + global_tasks.
I will be grateful for any advice.
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.