Hi everyone! I would like some help to create a "Group" Lives System for my Gladiator Map Project. I tried to create it by myself, but until now, zero sucess.
How it will work?
- Players will start the game with 3 lives. These lives are not individual, they are for the group.
For now, I'm having problem in how I will count properly all heroes inside the arena (storing in a variable). Only players have "heroes" units, so I think this will make my problem easier. There is no "Hero" unit enemies.
Maybe I can set 3 or 4 seconds without heroes inside the arena to check variable... I just don't know how to do it yet.
And a doubt: One specific hero has the "Reincarnation" ability. Do you think this ability can mess with the trigger?
Thank you if you read until here, and I'm still trying to make this trigger.
How it will work?
- Players will start the game with 3 lives. These lives are not individual, they are for the group.
- When a new wave starts, all players are teleported from their base, to the arena, and need to battle.
- Dying players will not respawn until the last hero is killed, or all the enemies are killed.
- If all players get killed, a life will be lost, all enemies will be removed, and after 90 seconds, the wave will repeat.
- If all enemies get killed, all alive players will be teleported to the base, and dead players will respawn. 90 seconds later, the next wave will come, and start all this again.
For now, I'm having problem in how I will count properly all heroes inside the arena (storing in a variable). Only players have "heroes" units, so I think this will make my problem easier. There is no "Hero" unit enemies.
Maybe I can set 3 or 4 seconds without heroes inside the arena to check variable... I just don't know how to do it yet.
And a doubt: One specific hero has the "Reincarnation" ability. Do you think this ability can mess with the trigger?
Thank you if you read until here, and I'm still trying to make this trigger.