Im making an AOS style game and I need some help with unit spawning triggers.
The kind of issue im having is kind of complicated. My map is not going to feature normal unit spawns like most AOS style games like DotA.
Im trying to make it so you have to make a one time purchase of the unit with your hero of the unit you want to produce at the barracks and then it will keep on producing that unit + others purchased from there on.
and also the same for upgrades on creeps too.
So basically:
1. a hero walks upto the barracks
2. a selection arrow appears over the heroes head
3. click on barracks
4. barracks displays units for sale
5. once unit is purchased, the unit BTN either disappears, or is replaced by next level unit BTN.
6. once unit is purchasedbarracks starts producing unit at regular intervals with the rest of the units for the AI player on that team.
and:
1. a hero walks upto blacksmith
2. selection arrow appears over the heroes head
3. click on blacksmith
4. blacksmith displays upgrades for sale
5. once upgrade is purchased, upgrade BTN either disappears or is replaced by next level upgrade option.
6. once upgrade is purchased, the upgrade is now installed on all future and existing units for AI player on that team.
can anyone help me with this?
The kind of issue im having is kind of complicated. My map is not going to feature normal unit spawns like most AOS style games like DotA.
Im trying to make it so you have to make a one time purchase of the unit with your hero of the unit you want to produce at the barracks and then it will keep on producing that unit + others purchased from there on.
and also the same for upgrades on creeps too.
So basically:
1. a hero walks upto the barracks
2. a selection arrow appears over the heroes head
3. click on barracks
4. barracks displays units for sale
5. once unit is purchased, the unit BTN either disappears, or is replaced by next level unit BTN.
6. once unit is purchasedbarracks starts producing unit at regular intervals with the rest of the units for the AI player on that team.
and:
1. a hero walks upto blacksmith
2. selection arrow appears over the heroes head
3. click on blacksmith
4. blacksmith displays upgrades for sale
5. once upgrade is purchased, upgrade BTN either disappears or is replaced by next level upgrade option.
6. once upgrade is purchased, the upgrade is now installed on all future and existing units for AI player on that team.
can anyone help me with this?