Jump to content
  • 0

Change Namecolor On Enter Zone.


Question

Posted (edited)

How to change name color on enter zone ?

 

I tried this, but it works only onExit zone.

 

final L2PcInstance activeChar = (L2PcInstance) character;
activeChar.getAppearance().setTitleColor(Config.CHAOTIC_ENTER_COLOR);

 

EDIT: Please move it to "Server Dev Help" section. Sorry for the wrong place.

Edited by raF

3 answers to this question

Recommended Posts

  • 0
Posted (edited)

As you said. Put in onEnter(), BUT you miss the broadcast.

activeChar.getAppearance().setTitleColor(Config.CHAOTIC_ENTER_COLOR);
activeChar.broadcastTitleInfo();
Edited by SweeTs

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 account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • 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