- Joined
- Apr 8, 2008
- Messages
- 7
Ok what im trying to make is a spell that builds a building but only works when you have a certain item in your inventory. How would i go about doing this?
example: a hero has an item called "chair" in his inventory and has the "build" ability. When you click the "build" ability the chair building pops up and you can build it. Once you build a chair building, the "chair" item in your inventory goes away and you cant build another chair building untill you get another chair in your inventory.
its kind of like the buildings in dark deeds how you can only build one of each then they dissapear from the building section untill you destroy the one already created.
THANKS FOR THE HELP!
example: a hero has an item called "chair" in his inventory and has the "build" ability. When you click the "build" ability the chair building pops up and you can build it. Once you build a chair building, the "chair" item in your inventory goes away and you cant build another chair building untill you get another chair in your inventory.
its kind of like the buildings in dark deeds how you can only build one of each then they dissapear from the building section untill you destroy the one already created.
THANKS FOR THE HELP!