• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Changing the Hero name to the player name.

Status
Not open for further replies.
Level 2
Joined
Apr 10, 2021
Messages
16
Hello, i am trying to RPG map. What I want to ask you is how can I translate the names of the units into player names?

For Example: I want it to appear (Player's Name) instead of (Peasant) when it comes to it with the mouse.
 
  • Unit - Set Unit: (Triggering unit)'s String Field: Name ('unam') to Value: (Name of Player 1 (Red))
This is the way and it should work. Note that this is on the latest version of warcraft 3.

I personally would add this to the hero selection trigger and do something like:
  • Hero select
    • Events
      • Unit - A unit Sells a unit
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • Unit - Set Unit: (Triggering unit)'s String Field: Name ('unam') to Value: (Name of (Owner of (Triggering unit)))
 
Status
Not open for further replies.
Back
Top