What is your advice for CPU in multiplayer oriented custom scenarios

I am currently reviving an custom scenario of mine centered around a strong Alantean CPU. But curious whats the best way of going about arranging the AI to attack two or more players in waves while reacting to certain events. Granted more of asking the most efficient way to handle this beyond a custom AI since I don’t really know how to work with one.

Thinking about it I think I probably just handle by leaving the AI off and manually setup the waves and other stuff. doubt an actual AI Would be able handle it since they already have a massive defense force.

I have never managed to make good AIs in my scenarios. I prefer scripted waves now. It’s a lot of triggers, but at least it adds difficulty. And sometimes I put real AI in the background to complement it.

Please note that a simple army spawn loop doesn’t always work. After a while, if there are too many units in the army, the trigger no longer works and the units stop moving. I have to improvise with conditions that check the number of units before spawning.

The best thing to do is to run tests and find a good trigger combination that works well.

I see since I already stacked the deck already for the AI I think I will just use a two way trigger system where the first part of each tear creates units from a building (to simulate them being trained) and then a second one that double checks and orders the units to go to a target. Though the interesting part will be setting up objectives for multiple players as I have a feeling the base objective system will complicate things with multiple players.

By the way you can write your own AI,you have access to all campaign AI in the files as an example.

Triggers creating army is the easiest solution though indeed