HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Variable Strings in Object Editor

09-25-2003, 05:44 PM#1
Dark_Templar
I'm trying to set the name of a unit in a object editor to a variable, so that it may change due to triggers. An example: if you open the abilities part, you will notice that the level and some of the description part of an ability is a code. Is there any code or trick that accomplish this task?
09-26-2003, 05:07 PM#2
Dark_Templar
Nobody answering?
09-28-2003, 02:35 PM#3
Dark_Templar
Sorry to push this on but nobody has an answer? Isn't it related to JASS?
09-28-2003, 06:10 PM#4
dataangel
You can store a unit's name in a variable, yes, but changing the variable won't then change the name of the unit. It stores a copy of the name in the variable. Editing the copy doesn't change the original. There's no easy way to change a unit's name in the middle of the game.
09-28-2003, 10:12 PM#5
Dark_Templar
Of course, but I'm refering to other thing. Isn't there a string that you type in the unit's name field in the object editor that refers to a variable?

For example:
(In the Unit Editor)

Unit Name: <Variable>
09-28-2003, 10:18 PM#6
Ekkruker
Ooh yeah someone answer this question that would be *so* great for RP maps...