
Best Answer Gambit, 21 June 2022 - 04:06 AM
Hello brother.
What you seek, needs SCaR (Lua programming).
There is a SCaR engine that is built-in to the game.
The idea is to start a rule (a function), that does what you seek, via commands.
But you must familiarize yourself with the specifics - at this needs time!
For example, to damage a building, you must find its in-game EntityID (unique for each entity), and apply a health modifier to that entity.
It is a bit tricky.
My suggestion is:
If you do have some programming experience (C, Python, whatever), just look into the scar folder of the game, to get an idea.
And then... EXPERIMENT!
Go to the full post