HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How do you get rid of chooose hero button in shops

03-25-2004, 05:58 PM#1
dexllgamer
Hi I dont need this button in the shop because in my map players will never have more then one hero. I want to use that spot in the shop to sell another item.

Keep in mind that I still want the shop to function correctly, so dont suggest remove sell items ability or something like that.

Please only reply if have tackeled this problem in the past and you know of a workable solution for removeing (or moving out of sight) this choose hero button in the shop.


Thanks Peeps. :D
03-27-2004, 09:53 AM#2
Panto
Since no one's responded here, let me take a stab at it.

As you've no doubt noticed, there's no ability that seems to correspond to the shop's hero-switching function. This suggests to me that it's automatically given to all units that sell anything, or at the least those that sell items.

It's entirely possible that the ability which you want to remove is added when the map loads or when the unit is created. I know that something similar happens with the Rally Point ability for units that produce units.

Therefore, I recommend that you look into finding out what the four-letter code for the hero selecting ability is, and then figure out a trigger that will remove that ability from any shop structures at the appropriate time.

If you want help figuring that trigger out, you should ask in the Trigger Haven. I can move this thread there, if you would like.
03-27-2004, 04:53 PM#3
Quetz
Isn't there an ability called select hero that you could just remove from the shop?
03-27-2004, 04:55 PM#4
Panto
That ability is what makes the shop select a hero that gets near it, if I'm not mistaken. It's not the ability that switches between heros of your choice.