• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

In-Game Chat

Status
Not open for further replies.

Kenji.1484

K

Kenji.1484

How do you change the in-game chat to All, Allies, or Observers using triggers? Thanks!
 

Kenji.1484

K

Kenji.1484

Well, what I want to do exactly is set a password for my account on my map, by that I mean that I don't want anybody spoofing my name on BNet. To do so, I want to do something like:

  • Events
    • Time - Elapsed game time is 1.00 seconds
  • Conditions
    • (Name of Player 1 (Red)) Equal to Kenji.1484
  • Actions
    • Countdown Timer - Start (Expiring timer) as a One-shot timer that will expire in 10.00 seconds
Then I want to do something like Set Player 1 (Red)'s chat to Observers, so I can then type my password, then "If Player 1 (Red) types (My Password) as an exact match, Do Nothing else Set Player 1 (Red)'s name to Imposter, and I want to be able to do this only within the 10 seconds of the timer.

I don't know if I was very clear in my explanation, I hope you understood. :(
 
Level 13
Joined
Sep 14, 2008
Messages
1,408
You can just use a trigger which goes like:

Events: Player 1 (Red) types "yourPass" as text
Actions: Clear video text messages for all players

the trigger runs so fast, that the password is not even shown in the game.
It is removed imediatly.

Try it yourself.

BUT I don't know if the password appears in the chat history :/
Just check it
 

Kenji.1484

K

Kenji.1484

Wow, great idea, VergilThazaar! Thanks a lot! +REP!
 
Status
Not open for further replies.
Top