Skip to content

Door Requirments

Featured Replies

I'm trying to make a door that opens only when you have a specific item. Any idea on how to do this?

Just make a new Instance extending L2DoorInstance and Override the onAction(L2PcInstance yourchar) to smth like if(activeChar.getInventory().contains(youritemid) this.openMe();

  • Author

Sorry, I'm new to this whole developing thing. How would I go about creating a new instance?

If you're new then this is way out of your lead.

I recommend you to get Eclipse and read the core extensively.

When you think you have achieved a decent knowledge level just open model.actor.instance and based on the other instances (Extend L2DoorInstance) make up your own.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.