Jump to content
  • 0

Question

Posted (edited)

Hello guys. I want to make 1 NPC with only 2 buttons.  1st button goes to 1 instance and the 2nd one goes to another. Im talking about l2BufferInstance. 

 

This bypass should give access to the buffer from a different NPC with L2Npc type.

Edited by raF

5 answers to this question

Recommended Posts

  • 0
Posted (edited)

You got few possibilites :

 

- the bypass can be written to L2Npc, and with the "else super.blabala", it is supposed to be available to any instance, no matter what.

- you write both bypasses in both NPC instances

- you create a super class, whom both buffers children would heritate from the mother class, cf. a L2WeddingManager can have "Quest" bypass because it's also a L2Npc.

 

L2Character > L2Npc  >  L2SuperBufferInstance (with new bypasses)

                                    |-> buffer A        |-> buffer B

Edited by Tryskell
  • 0
Posted

U got 2 completely different buffers. L2BufferInstance and L2Buffer1Instance. Here is a preview:

 

24mb4ph.png

 

 

I got another one NPC  that is L2NpcInstance which I want to make it work like a link to one of the 2 buffers like i am showed in the picture. I use these links in the HTML of the 3rd NPC and it works, but it only show me the main window. Every move after the main window doesnt work.

action="bypass -h npc_%objectId%_Link mods/buffer/50008.htm"
action="bypass -h npc_%objectId%_Link mods/buffer1/50013.htm"

I guess I have to use the 2nd method u mentioned, but I dont know how exactly to write it. 

  • 0
Posted (edited)

The 2nd point, I guess, simply do all actions, bypasses you want in ONE instance, there is no need for 2 instances. Simply make one instance "more fat", add functions/methods of that 2nd instance. Merge them.

Edited by SweeTs

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.

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.



×
×
  • Create New...