HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How can i give a building with shop sharing upgrade selling?

05-31-2004, 08:39 PM#1
GosuSheep
I know you can sell units and items on a building with shop sharing

but how can a building with shop sharing sell upgrades?
05-31-2004, 08:54 PM#2
PatruX
Just give the shop building upgrades? Or make a dummy item, and then make a trigger that reacts on when the dummy item is sold.
06-01-2004, 04:14 AM#3
GosuSheep
buildings with item sharing cant have upgrades that way.. i think its an ability or something... and if its an item, then id need a different item for every level.
06-01-2004, 04:31 AM#4
Phoenix-Flame
The only way to do the upgrading by dummy items or units
06-01-2004, 05:36 AM#5
GosuSheep
i downloaded the .slk, put it in the right folder, even imported it into my map

how do i make the units be able to sell upgrades?
06-01-2004, 11:15 AM#6
BladeKiller
Try this:

Create an Item called " Upgrade Damage " and remove all abilitys give it an Upgrade Icon and a description.
Now go to your Shop which will sell the "Upgrade" and add your created Item to the list.
Then go to Trigger Editor and do this:

Events
Unit - A unit Sells an Item
Conditions
(Item-type of (Sold Item)) Equal to "Upgrade Damage" (Item)
Actions
Player - Set the current research level of Damage Upgrade(Create the Upgrade u want first) to ((Current research level of Damage Upgrade for Player X) + 1) for Player X


Ok try this if you dont understand this ask me!
06-01-2004, 11:50 PM#7
GosuSheep
well, as the level increases, the upgrade gold cost should increase... is it possible to change the gold cost inside the trigger as well?
06-03-2004, 06:04 PM#8
BladeKiller
Quote:
Originally Posted by GosuSheep
well, as the level increases, the upgrade gold cost should increase... is it possible to change the gold cost inside the trigger as well?

Not in the trigger but u can do it with the Upgrade-Editor.