Jump to content
  • 0

Critical Announce & Announcements [Acis]


Question

Posted

Hello lads,

 

I'm looking for a way to replicate the critical announcement functioning and use it with other colors, make announcements without name and .

I already tried this for example:

toAllOnlinePlayers(new CreatureSay(0, Say2.PARTYROOM_COMMANDER, "", "Hello"));

But it's like ": Hello", is there a way to create a new type of announcement to work like CRITICAL_ANNOUNCE?

 

toAllOnlinePlayers(new CreatureSay(0, (critical) ? Say2.CRITICAL_ANNOUNCE : Say2.ANNOUNCEMENT, "", text));

I'm looking at the Critical Announcement code and as I can see there is also String charName, it's empty and it's not used.

 

Is it possible or it's client side thingy for colors/formation of the say2 types?

 

Thanks,

George

3 answers to this question

Recommended Posts

  • 0
Posted (edited)
7 hours ago, SweeTs said:

charName is empty, bcs you left it empty O.o

Yeah, I didn't express it well.

My point is that you can let it empty and there is no  : TextJust Text.

Edited by Caotonic

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