• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[Trigger] Help with a Simple Problem

Status
Not open for further replies.
Level 5
Joined
Aug 7, 2004
Messages
120
All I want to do is have the player enter a chat message, which gets saved as a string variable. I've tried to find a way to do this, but it never works. The way I currently have it in my map is:

Event -> Player 1 Red enters a chat message containing (empty string) as a substring

Action -> Set (HeroName) = Entered Chat String
Game - Display to (all players) the text (Your name is + HeroName)

In game, the only thing that shows up when you enter the message is "Your name is," which indicates that the variable isn't getting saved as anything. I also tried using one of the special events in WE Unlimited:

Event -> Player 1 Red Sends a Chat Message

This produced the same results. Does anyone know how to do this correctly?
 
Status
Not open for further replies.
Top