HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

A way to modify the number of items/units in stock?

06-05-2004, 12:07 PM#1
LegolasArcher
This would really help out on a project I'm currently on. I don't see anyway to modify this at all, though. One thing that might bear mentioning is that I really only need to increase this value-- and that is the problem. Decreasing it might just involve an invisible unit able to purchase units, and a trigger that orders it to buy a unit, then remove it when it appears.

Thanks in advance for any assistance provided.
06-05-2004, 02:30 PM#2
Shimrra
You can use these actions:
Code:
Neutral Building - Add (UnitType) to (Unit) with (Quantity) in stock and a max stock of (Quantity)
Code:
Neutral Building - Remove (UnitType) from (Unit)

Just remove the old unit from the store and add the new one with the desired value.
06-06-2004, 02:14 AM#3
LegolasArcher
Thanks a alot! I've never needed to use an action in the Nuetral Building catagory before-- I forgot all about them. Thanks again!