| 06-27-2005, 02:41 AM | #1 |
What I'm looking to do is basically make it so that the player gets to choose the name of his/her hero. However, I can't find any triggers to do this. Is there any way I can put the name of a string variable as the name of the hero then modify the string after the game has started? Thanks for your help. |
| 06-27-2005, 04:23 AM | #2 |
Guest | I was curious about these things too, but I believe there is no way to change them once the game has started. All tooltips, unit names, ability names, etc. are stored as a string in the war3map.wts file in your map. If there was a way to modify the .wts file in the game, it would be possible, but I don't believe there is. Also, there is no way to set a field in the object editor to a variable (that i know of). If only there was.... |
| 06-27-2005, 05:14 AM | #3 |
ah, o well. I think that would be really cool to be able to do that, but I guess I'll have to make do somehow =P. |
| 06-27-2005, 08:10 AM | #4 |
Guest | One thing you could do would be to recreate the hero. I think that would change the name to something else in the Text - Hero Names field, but it would be random and preset to only those names... |
| 06-27-2005, 10:39 AM | #5 |
Of course the most tedious way to do somthing like this is to create 5 or 6 identical heros with different names, then you choose from one of those. However if you wanted to do somthing more like "-name Cool_Dude" and have thier Paladin go from being called "Uther" to being called "Cool_Dude," That would not be possible, at least not in any way I am aware of. The only possiblity is to make somthing like 10 options for names, and just use dialoges to choose which name you prefer. |
