• 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.

RPG permanant name change

Status
Not open for further replies.
Level 9
Joined
Oct 15, 2006
Messages
339
Say a character asks the player for his/her name. Whatever they type is set as their name and they cannot change it for the rest of the playing time.

I understand that there are maps which utilize name-changing functions, but is there a cap on time or ability to do it, and if so, how?

Thanks.
 
Level 8
Joined
Sep 9, 2007
Messages
395
What are you talking about?

You cannot change a heroes name in game if you want that.

Search "name" in a GUI action trigger list and you should find the trigger to change a players name. When you have that, you can change the events, conditions, etc. For changing a players name.
 
Level 8
Joined
Sep 9, 2007
Messages
395
You could just use a variable, so your trigger could go:

Event: A Player types a message containing (triggering here) as a subtrings
Conditions: If Player_Named[Player number of triggering player] = False
Events:
[Name changing code goes here)
Set Player_Named[Player number of triggereing player] = True
 
Status
Not open for further replies.
Top