How to make a ai unit have your username

I remember when i had a thing where i accidentely made the ai unit have the player’s user name and now i want to replicate it agian but i forgot how

I’m assuming you mean when you use an item that creates a unit and the unit has the players name

Exactly what i meant

On the script called " Create unit" where is the principal action, u gotta do "Set name of last created unit as “Your Name” "

1 Like