Jump to content
  • 0

Auto Open Door


Kantik
 Share

Question

2 answers to this question

Recommended Posts

  • 0

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)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock