HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Blocking text?

01-04-2007, 12:06 AM#1
ixmike88
Is it possible to stop text from being sent?
01-04-2007, 12:21 AM#2
Pyrogasm
A quick, simple fix would be to do something like the trigger below, which adds lines of nothing after a sent message.
Trigger:
Collapse Events
Player - A player types a message [or whatever the appropirate command is, I don't know off the top of my head]
Conditions
Collapse Actions
For each (Integer A) from 1 to 15 [I don't know what the exact number you would need is] do (Game - Display to (All Players) the text " ")
The problem with the above trigger being that messages can still be read in the Dialog menu (F11, or whatever it is).

I ran into a problem using text offset (thread here) where if text is offset to 2.00 or more, the next few messages after it are offset to the same point. This may also help you.

EDIT: You may want to have a look at some of the text systems that display text above the Player's Hero's head instead of in the chat dialog, since, in these systems, the regular text is not displayed.
01-04-2007, 12:37 AM#3
ixmike88
I'm trying to count the messages a player types in a given time, then block extra ones, for a spam filter type of thing. Sorry for not explaining this in the first post.
01-04-2007, 12:40 AM#4
Pyrogasm
Oh, then I guess what I said doesn't help you. However, I think looking into some of those text systems would do you good.
01-04-2007, 12:44 AM#5
ixmike88
Is there any guide or tutorial on how to do text over heroes' heads and cancel it out in dialog?
01-04-2007, 12:44 AM#6
Zandose
You could try this http://www.wc3campaigns.net/showthread.php?t=80691
01-04-2007, 01:08 AM#7
ixmike88
That is helpful, but can you toggle it? As far as I know, theres no function to edit imports like that.


EDIT: Nevermind, thanks for your help.