Setting Hero Name to Player Name

Avaleirra

Is back. Probably.
Reaction score
128
Hi I was wondering if it is possible to change a hero name to its owner's name.

Thanks
 

Slapshot136

Divide et impera
Reaction score
471
if you wanted a few specific players to get that, then it would be possible, you would just replace the hero with another hero who has the desired name, but only if you already had the hero made, so like you could easily do it for just you and/or your freinds
 

Avaleirra

Is back. Probably.
Reaction score
128
@Slapshot136
No... I would need it to be non-specific. Would it be possible to have some complicated JASS thing for this?
 

jig7c

Stop reading me...-statement
Reaction score
123
there is no native that set's a unit's name to whatever you want... im afraid there is no complicated jass thing for it...
let me look around hive/th.net for something like this.. if i find something, i'll post it here, but i doubt it...

Trigger:
  • Example
    • Events
    • Unit - A unit Sells a unit
    • Conditions
    • (Unit-type of (Triggering unit)) Equal to Mercenary Camp (Ashenvale)
    • Actions
    • Player - Set name of (Owner of (Sold unit)) to ((Name of (Owner of (Sold unit))) + ( ( + ((Name of (Sold unit)) + ))))


Note: the above script will change the player's name, not the hero's name...

you could change the player's name to the unit's name if you wanted to...just make the unit's name whatever you want then..
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top