Jump to content
  • 0

Help-Title


DnR

Question

6 answers to this question

Recommended Posts

  • 0

AbstractNpcInfo.NpcInfo contains a writeD call for the npc title color:

writeD(0x00); // Title color 0=client default

So, you may add a new int field to L2Npc where you can store the title color (0 by default) and instead write writeD(0x00) just write, for example, writeD(npc.getTitleColor());

 

where getTitleColor() would return such new int field

Link to comment
Share on other sites

  • 0

AbstractNpcInfo.NpcInfo contains a writeD call for the npc title color:

writeD(0x00); // Title color 0=client default

So, you may add a new int field to L2Npc where you can store the title color (0 by default) and instead write writeD(0x00) just write, for example, writeD(npc.getTitleColor());

 

where getTitleColor() would return such new int field

 

Biggboss,

 

I tried this alrdy before i post here but title does not appear when i change it.

Link to comment
Share on other sites

  • 0

the only way to change the npc color server-side is by sending the proper information from the server to the client (which means, packet sending). if it didnt work for you, maybe is only avaliable with client mod

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.
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...

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