• 🏆 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!

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