HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

"Get player name" trigger

08-04-2004, 10:50 PM#1
MattPaintballer
Okay, I've noticed there is a "Get player name" trigger in the WE. (or atleast in WEU...) Is it possible to have something like this? Okay, you step on a beacon to pick a hero. Then a trigger gets your name (say your name was 2DarKWandereR12 for example) and then changes your hero's name to 2DarKWandereR12? If that's possible, can you like do something special if you have a certain name? Say the mapmaker's name was 2DarKWandereR12, and he stepped on a beacon, since his name was 2DarKWandereR12, could you do something like change it to "2DarKWandereR12 Rocks"? Any help would be appreciated!
08-04-2004, 10:56 PM#2
weaaddar
What you are describing is called a FUNCTION.
there is no setUnitName function so no you can't name the unit your player name. You CAN however change the player to have the name of the unit if you were so encrazed.
08-04-2004, 11:05 PM#3
MattPaintballer
Is it possible to do something special if the user has a specific name?
08-04-2004, 11:05 PM#4
MattPaintballer
Is it possible to do something special if a player has a specific name though?
08-04-2004, 11:21 PM#5
Mayor
Of course you can:
Pick every Player...
If Name of Picked Player == <specific name> then // (string comparison)
do something spezial