So I am trying to implement enhancement/artisan system to my map. So say you choose to enhance your item with double damage. You click the button "Enhance Damage", and It buffs the damage of the sword but not the name. How do you make it so the item name change to, say: Sword of Double Damage... Without creating new units with that name of course. Is there a prefix suffix change?. Thanks in advance!
But that means that I have to create hundreds of different units. Because I am thinking to have different kind of enhancement. It could be "Lightning Sword of Double Damage". "Flamethrower Gun of Magic". Using morphing ability type will work as you suggested but then I would have to create every single combination on enhancement...
Only possible if only one unit exists at a time (then you can use catalog functions to change the unit's name.)
The fundamental issue here is that ALL units of a given unit type share the same name. So if you change the name for one unit you change it for all of them.
However, there's something called Info Text which can be modified via triggers and displays under the unit's name. That could be an acceptable alternative.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
So I am trying to implement enhancement/artisan system to my map. So say you choose to enhance your item with double damage. You click the button "Enhance Damage", and It buffs the damage of the sword but not the name. How do you make it so the item name change to, say: Sword of Double Damage... Without creating new units with that name of course. Is there a prefix suffix change?. Thanks in advance!
Anyone can help?
I don't think that's possible.
How exactly are you doubling the damage of the sword? I would have done a normal sword and one with double damage anyway.
@Klishu: Go
But that means that I have to create hundreds of different units. Because I am thinking to have different kind of enhancement. It could be "Lightning Sword of Double Damage". "Flamethrower Gun of Magic". Using morphing ability type will work as you suggested but then I would have to create every single combination on enhancement...
Only possible if only one unit exists at a time (then you can use catalog functions to change the unit's name.)
The fundamental issue here is that ALL units of a given unit type share the same name. So if you change the name for one unit you change it for all of them.
However, there's something called Info Text which can be modified via triggers and displays under the unit's name. That could be an acceptable alternative.