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

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