| 06-08-2005, 09:12 PM | #1 |
How do you remove a icon after you buy somethign from the shop? Like make the shop pitch black? Thanks |
| 06-08-2005, 10:08 PM | #2 | |
Guest | Quote:
STock Maximum 1 Stock replenish time 999999999 if thats what u mean or (i dont got no WE OPEN) Code:
Item - remove <item> from shop |
| 06-08-2005, 10:39 PM | #3 |
Just make sure the shop has the "sell items" ability, otherwise the trigger won't work. |
| 06-09-2005, 01:21 AM | #4 |
Sorry, i forgot to say it was a hero being sold. Should i still use the same thing? And, what kind of event should there be? |
| 06-09-2005, 08:58 AM | #5 |
Guest | If you mean make hero hero be removed from a shop you need to do this Code: Player pick every player and do player: set unit construction/training for (sold unit) = unsellable its something like that and the same for items |
| 06-10-2005, 02:57 AM | #6 | |
Quote:
There's an action: "Player - Limit Training Of Unit-Type" Just stick that in the starting triggers of your map, set the limit to 1, the type to your hero, and when the player trains that unit-type by any means (in this case your hero from the shop), they won't be allowed to train any more of it (and yes, it will remove the icon like it does when you train traditional heroes). Hope this helps. EDIT: Oh, I'm pretty sure that will work, but so you know, that's really intended for use on non-hero unit types. If you want to just cover all heroes in general, you can try "Melee Game - Hero Limits". It may only cover the default heroes, but it's worth a try, anyway. If it doesn't work, just go ahead and stick with the first action I pointed out for you. Good luck. |
