HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Two quick questions

06-15-2004, 01:56 AM#1
Zurg
I was wondering if there was anyway to change the name of a hero ingame or change the price of an item with triggers. Thanks for the help :D
06-15-2004, 02:02 AM#2
Panto
I know you can't change the name of a hero to anything but the hero names listed for him in the object editor. I don't think you can change the price of an item, except to make it cost nothing and subtract the amount of gold via trigger, but that's not a very sexy solution.
06-15-2004, 02:07 AM#3
Zurg
Quote:
Originally Posted by Panto
I know you can't change the name of a hero to anything but the hero names listed for him in the object editor. I don't think you can change the price of an item, except to make it cost nothing and subtract the amount of gold via trigger, but that's not a very sexy solution.

well that kinda screws my map up, I may have to have fixed prices. I am working on an economic type map like one of those Tycoon games. I wanted to generate a random cost for the commodities at the beginning of each day. Anything i could do with JASS do you think? Oh, so I can change the hero name ingame as long as it is listed in the object editor?