| 01-23-2004, 10:10 AM | #1 |
How to upgrade an unit as you would upgrade a building with gold and wood cost ? how to make this upgrade avaiable only once per day? ex: a baby spawn from a farm.... time of day = 6.00 am give baby ability(upgrade) but then if u don't upgrade the ability might stack and cause the baby to have 10 ability(upgrade). or a baby upgrade to child set unit mana to 0 time of day = 6.00 am pick unit of player1 of type child and set mana of picked unit to 1. (the ability would cost 1 mana) or else .................................................................................................. please could you help me doing this emote_sweat |
| 01-23-2004, 11:44 AM | #2 |
Ok this doesn't seem too hard. Basically just take a good look at the ability and upgrade relationship of the Obsidian Statue and the Destroyer. I think they have an ability and an upgrade or something...Replicate them into a new ability and new upgrade then set the upgrade to require a certain type of building. Make the building an invisible invulnerable object with the locust ability and then create it at day for the player you want this system for and then kill it at day. Use a Unit variable to keep track of the required unit during the day. Create it in a region kept in some obscure corner of the map. Hopefully you'll find a place for it...make sure it's sight radius is nil otherwise the player might notice it on the minimap. Hope this helps. |
| 01-23-2004, 12:43 PM | #3 |
ABM, you now have TWO answers to your one question. Do not double post, and just be patient for your first question to be answered. |
