HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

!Err... I need some chat trigger help...!

09-10-2004, 01:13 AM#1
shadowhunter09
Err... How do I make it so that when player X types a text message containing -Help the next text only appears to the player that typed it... I tried to make the player a variable but it didn't work... :(. HELP!
09-10-2004, 01:23 AM#2
HexenLordX
Quote:
Originally Posted by shadowhunter09
Err... How do I make it so that when player X types a text message containing -Help the next text only appears to the player that typed it... I tried to make the player a variable but it didn't work... :(. HELP!

Use the event Player - Chat Message Entered, or something like that, its under player and has something to do with chat message.

Set it to Player 1 types chat message -Help as an exact match.

Add multiple events, one for each player.

Theres an action, Game - Displaye message. Use that.

To make it work for the player that types the message, do a If/Then/Else action, and set condition to Triggering Player equal to player on, and set the action to display the text message to Player 1.
09-10-2004, 01:38 AM#3
-={tWiStÄr}=-
actually you can just do for the action
Dispaly text to triggering player
09-10-2004, 03:44 AM#4
logik
dont you do it like

player 1 types chat message equal to "-help"
player 2 types chat message equal to "-help"

and you do it for each player... then with the action make it display to triggering player
09-10-2004, 12:59 PM#5
-={tWiStÄr}=-
Events
player 1 types chat message equal to "-help"
player 2 types chat message equal to "-help
....
Conditions
Actions
Display text to Triggering player ....
will work fine.
09-10-2004, 07:53 PM#6
shadowhunter09
Umm... There is no action containing display text to triggering player... :S
09-10-2004, 09:15 PM#7
-={tWiStÄr}=-
Display text to player. or sry thinking jass.
Display timed text/explicitly timed text to player to player group(triggering player)
its something like that.
09-11-2004, 03:28 PM#8
logik
hit G... and it will come up...


Game - Display Text To Player
09-11-2004, 11:56 PM#9
shadowhunter09
Heh sorry, I'm an idiot, lol! Yeah I found it and it works! Thanks guys :).
!Err... I need some chat trigger help...! - Wc3C.net