Hello
I have a question how to create a Round system. I do not know how to do it.
My idea is like this
At the beginning there are 2 teams. When time expires unit moved into the arena and start fighting . When one team wins they gets a reward in the form of minerals and its units would moved back. Then after 2 minutes system have to display message "Round 2" and again unit moved into arena.
How good are your skills regarding triggers and the editor in general?
Are those two teams made of palyer or ai?
Do you got already any idea how to start?
My suggestion: Create a timer that is triggered at each end of a round (e.g. 2 minutes). And during the round you simply create a trigger that checks whether team a or b is completely dead. For doing that you could to playergroups or accomplish it via alliances.
For checking the number of living players, you could use the any unit dies event. Then simply check via If-Then-Else if the unitcount is equal to zero.
If the condition is true, run the reward-trigger, if it is false, keep checking. That't it as far as i concern.
OneTwo did some really good job explaining this "checking" in his tutorial "Advanced Tower Defense". Just watched it yesterday :>
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hello I have a question how to create a Round system. I do not know how to do it.
My idea is like this At the beginning there are 2 teams. When time expires unit moved into the arena and start fighting . When one team wins they gets a reward in the form of minerals and its units would moved back. Then after 2 minutes system have to display message "Round 2" and again unit moved into arena.
Please help!
How good are your skills regarding triggers and the editor in general? Are those two teams made of palyer or ai? Do you got already any idea how to start?
My suggestion: Create a timer that is triggered at each end of a round (e.g. 2 minutes). And during the round you simply create a trigger that checks whether team a or b is completely dead. For doing that you could to playergroups or accomplish it via alliances. For checking the number of living players, you could use the any unit dies event. Then simply check via If-Then-Else if the unitcount is equal to zero. If the condition is true, run the reward-trigger, if it is false, keep checking. That't it as far as i concern.
OneTwo did some really good job explaining this "checking" in his tutorial "Advanced Tower Defense". Just watched it yesterday :>