- Joined
- Jun 5, 2008
- Messages
- 1,768
Yes, well. It's a pretty straight forward question. I am working on game with a lot of techs.
To successfully activate an upgrade, you need to have the right amount of items.
For example, To upgrade the technology "Iron Saw", you need:
- 2 Pieces of Lumber
- 1 Hot Coal
- 1 Iron Bar
- 1 Steel Bar
If the building doesn't have these items in its inventory, the upgrade should be canceled.
The problem is how? I'm clueless how to do it. I'd ask for a request but I'm unsure if it's actually even possible.
It might, just maybe, be possible in JASS or vJass. So yeah, asking for help. If possible, could anyone of you dudes help me out? :O
To successfully activate an upgrade, you need to have the right amount of items.
For example, To upgrade the technology "Iron Saw", you need:
- 2 Pieces of Lumber
- 1 Hot Coal
- 1 Iron Bar
- 1 Steel Bar
If the building doesn't have these items in its inventory, the upgrade should be canceled.
The problem is how? I'm clueless how to do it. I'd ask for a request but I'm unsure if it's actually even possible.
It might, just maybe, be possible in JASS or vJass. So yeah, asking for help. If possible, could anyone of you dudes help me out? :O