They Are Billions

They Are Billions

Custom Levels for They Are Billions
Add custom levels to They Are Billions by subscribing to these workshop items!
Learn More
Create a Sniper Hero with Conditions
I am creating my first map. I'm trying to create a Sniper Hero called MajorX
I would like to apply more damage to this character only and put a condition on the game:
if he dies the player loses the game.
I've tried it countless times, but I can't do it at all...
Can someone help me?
< >
Showing 1-3 of 3 comments
Hello

You cannot apply a rule to a very specific among the others (like 1 sniper among hundreds).

All the rules you are going to apply to an unit, will be applied to the same type.

For a loss condition, I would recommend you to avoid it, by experience people are really frustrated by this mechanic because it's very difficult to know where the unit is. And as you can't apply to a single target the rules, you cannot buff all the snipers (in your case), without making the game unbalanced.

Instead, I would suggest you to increase the time to create units or anything that could affect the game without triggering the loss.

To do so :

Right click on your character set the unit ID to MajorX

Then create an event and set this condition : IsDead(MajorX)
Do NOT click on repeated event and let the starting event at 0h.

In the second tab of the event, click on execute code and right e.g. ApplyRules("Sniper BuildingTime + 50%")

This means whenever MajorX dies, the time to build snipers will be increased by 50%.
brunofazanaro 12 Dec, 2021 @ 2:42pm 
Hi

I understood,

I loved the idea of ​​increasing the time to build snipers!

Thanks for the help, it was very helpful!
Your welcome!
< >
Showing 1-3 of 3 comments
Per page: 1530 50