- Joined
- Jan 20, 2011
- Messages
- 492
Hey guys, I'm wondering if anyone could help me with a Custom Hero Arena type creep system.
What is this you ask? It's were if a unit dies at any time, a unit will spawn after a specific number of seconds on in the same position it originally was, but this unit that just spawned shall be completely different.
So say I kill a wolf level 2, I want a Troll Level 3 to spawn in it's location 30 seconds later.
I know that I will need to store all of the units within arrays, but I don't no how to get started as in after I store these units within. I have asked Glorn2, but no reply. So if anyone could point me in the right direction, or do anything to help, it would be much appreciated.
Note: I will be using several different groups of creeps within that can only spawn based on it's group, and will not spawn if another unit from another group dies, for example;
Group Easy: Wolf level 2 dies --> troll level 3 spawns --> troll dies --> Knight Level 4 Spawns
Group Medium: Grey Wolf Level 3 Dies ---> Troll Shaman Level 4 spawns --> Troll Shaman Dies ---> Hydra Level 5 Spawns
Group Hard: Dire Wolf Level 5 Dies ---> Troll Warlord Level 6 Spawns ---> Troll Warlord Dies ---> Rock Golem Spawns
So a Dire Wolf will not spawn a Troll Shaman, since they are in different groups.
Thanks for any help guys and for taking time to read this. If more information is needed for you to understand just let me know.
What is this you ask? It's were if a unit dies at any time, a unit will spawn after a specific number of seconds on in the same position it originally was, but this unit that just spawned shall be completely different.
So say I kill a wolf level 2, I want a Troll Level 3 to spawn in it's location 30 seconds later.
I know that I will need to store all of the units within arrays, but I don't no how to get started as in after I store these units within. I have asked Glorn2, but no reply. So if anyone could point me in the right direction, or do anything to help, it would be much appreciated.
Note: I will be using several different groups of creeps within that can only spawn based on it's group, and will not spawn if another unit from another group dies, for example;
Group Easy: Wolf level 2 dies --> troll level 3 spawns --> troll dies --> Knight Level 4 Spawns
Group Medium: Grey Wolf Level 3 Dies ---> Troll Shaman Level 4 spawns --> Troll Shaman Dies ---> Hydra Level 5 Spawns
Group Hard: Dire Wolf Level 5 Dies ---> Troll Warlord Level 6 Spawns ---> Troll Warlord Dies ---> Rock Golem Spawns
So a Dire Wolf will not spawn a Troll Shaman, since they are in different groups.
Thanks for any help guys and for taking time to read this. If more information is needed for you to understand just let me know.
Last edited: