- Joined
- Mar 30, 2009
- Messages
- 971
i need help with a map. when someone can help, then ill send the map. i think hashtables are needed for this, right? well i couldnt do this myself, sadly.
basically i want one unit (town hall/keep/castle) to automatically train another unit (peasants).
i want the town hall to train only 20 peasants.
when one of the peasants dies, i want the town hall to train another one.
and
when the town hall's hp reaches 0 (or 1?) it will change owner to that of killing unit (and will have full hp)
also all the peasants trained from that town hall should convert (change owner).
i want the town hall to train only 20 peasants.
when one of the peasants dies, i want the town hall to train another one.
and
when the town hall's hp reaches 0 (or 1?) it will change owner to that of killing unit (and will have full hp)
also all the peasants trained from that town hall should convert (change owner).
the peasants can be upgraded into other unit-types, but i want those not to be counted (when peasant is upgraded into a footman, town hall will train a new peasant)
peasants cant build town halls. all town halls are pre-placed. all town halls can be upgraded to keeps/ castles.
peasants cant build town halls. all town halls are pre-placed. all town halls can be upgraded to keeps/ castles.