How to change Unit name in scenario editor?
I found “change object name” in triggers but it just changes certain set area units over the map pre-placed.
I want to rename some units permanently like suppose all recruited Elephant Archers to be named Howdahs instead. How do I do it?
1 Like
It’s possible to set it for a specific type of unit without setting an area, meaning it will affect all units of that type on the map at the same time. It only triggers once, though, so if you loop the trigger, it will activate continuously.
Hope this helps!
Looping made it partially worked because the unit still shows the same old name when I hover over the buildings. After it recruits it changes to new name.
Oh yeah, it doesn’t work for buildings. You need a separate trigger for that.
What trigger will be required to change the unit name in building as well? 
That I don’t know. I’ve only really done it once or twice, and it never seemed to work properly.
I would recommend using Modify Attribute since otherwise your unit won’t benefit from techs you research after creating it. It looks like this:
Choose the Unit, Choose “Object Name ID” for the Attribute, Quantity = 0, and Name = Whatever you want.
To change the name (and description) when the building is selected, use “Change Object Description”
5 Likes