HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Shopping w/o inventory

03-09-2008, 10:45 PM#1
sas_Skorpion
Hi again ppl i am lil out of ideas on how to do this thing :

i want to make some units "buy" their spells but those unit are supposed to be without the inventory i was thinking to do something like "selling" runes and the upon activation to add the spell but im not sure how to do that so if somebody can help ill be thankfull
03-09-2008, 11:24 PM#2
Here-b-Trollz
sell dummy units instead of items, and remove the units as soon as they are created.
03-09-2008, 11:29 PM#3
sas_Skorpion
ehm i think that would compromit the scoreboard ...

i'm testing right now a "add inventory near shop" thing hope it works fine

Edit : actually that idea might work better than mine xD
03-10-2008, 07:39 AM#4
Gorman
You should do it the way that Here-b-Trollz said, adding inventory near shop my be a bit buggy and not very smooth
03-10-2008, 11:38 AM#5
cohadar
You can create a custom inventory with zero inventory slots.
That way unit can get only runes but not standard items.
03-10-2008, 01:41 PM#6
sas_Skorpion
Quote:
You can create a custom inventory with zero inventory slots.
i tried this but i can't :S it doesn't let me put 0 inventory slots
03-10-2008, 03:16 PM#7
cohadar
Hold Shift + Enter when you open the field, that was it takes 0 as an argument.
03-10-2008, 04:19 PM#8
tamisrah
Another idea would be adding abilities to your shop that are based off on the neutral spell 'Aans'. This ability allows you to specify gold and lumber cost for casting it and it allows multiple instances of itself on a single unit since you can change the order.
But you would have to trigger the effect of your items because 'Aans' has no effect on itself . So as long as you don't plan any fancy stuff Cohadar's solution will be probably most appropriate.