• 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.

Number, Class and Name

Status
Not open for further replies.
Level 7
Joined
Jul 25, 2008
Messages
292
Hello, I am planning to start work on a space RTS style map and was wondering if there was a way to name units. I want you to be able to buy classes of ships and that would be the unit name then I want you to be able to number them (ctrl number which already works) but for a third I want you to be able to name ships. So you could have the "Bifrost Class Destroyer: Fenrir". and what not.

Preferably I would like this to be done easily in game (for example ctrl enter type name)

any ideas? (test map would be extreamly helpful)


Plus rep for answers.
 
Level 7
Joined
Jul 25, 2008
Messages
292
It's not possible to change the name of units in-game.

You can only give them named in the editor.

What you can do is store the entered string to variables and use floating texts or text messages.

Could you do a string that works something like "if unit is selected and ctr enter is clicked create floating text attatched to unit x x off set" ?
 
Level 37
Joined
Mar 6, 2006
Messages
9,243
Status
Not open for further replies.
Top