| 02-18-2006, 08:50 AM | #1 |
is there a way to have upgrade requirements or ANY requirements in order to buy an item or a unit? replies are greatly appreciated |
| 02-18-2006, 12:51 PM | #2 |
You could trigger it, and remove the item/unit and give money back if they don't have the required stuff. EDIT: You could also make it so that they only appear if they have the requirements. |
| 02-18-2006, 02:14 PM | #3 |
how would i make it so they only appear with the requirements. |
| 02-18-2006, 02:42 PM | #4 |
Set up a trigger that either responds to a change or periodically checks to see if a condition has been met as well as a boolean variable indicating if the item is in the market or not. Then just add or remove the item accordingly. Neutral Building - Add [Item] to all marketplaces with [#] in stock and a max stock of [#] Another solution is adding a techtree requirement, that way you can have the items function like the ones in the Player-built shops, only allowing certain items to be purchased if they have certain units. |
| 02-18-2006, 04:16 PM | #5 | |
Quote:
You could replace all items with units and have the same info for each and such, then you can trigger it so if they hire a unit or something it removes the unit and gives the hero the item. This way you can add techtree-ness into the item purchasing system. |
| 02-18-2006, 05:01 PM | #6 | |
Quote:
Items can have techtree requirements too. ![]() |
| 02-18-2006, 07:04 PM | #7 |
oh crap, oh yea, silly me, i forgot even tho i play ladder, but isnt market place different from personal shops? |
| 02-19-2006, 01:21 AM | #8 |
Tech tree requirment doesnt seem to apply to items bought. Only those those constructed or trained. I will look at your cocept of Add sale item into Neutral building. Same deal here its a personal shop. Personally having multiple upgrades for the shop will not work. Replacing the shop with a similar shop with more items, will add to many units that I dont need to the game. |
