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.
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)
0 Tryskell Posted April 12, 2011 Posted April 12, 2011 w00t, such function exists already... For ToI and eva doors. Check DoorTable, checkAutoOpen() method.
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
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now