Soccer5se:
I’ve attached 2 images.
use the first rule block to make the ai soldiers spawn as a particular specialist.
unfortunately, all ai soldiers will be the same specialist that you select and I can’t see a way of making numerous ai spawn as different specialists.
i’m sure there is a way but the complexity of that coding is abit above my rules editor skills.
but at least I can show you a way it changing ai soldier so they are not just bland, grey, generic bots.
use the specialist drop-down box to select which specialist you want ai to spawn as.
use the second rule block I have attached to dictate what weapons the ai soldiers use.
note that the “wait” time is in seconds. So if you enter “30”, that means 30 seconds.
you can see that I have set the ai solidere ri change weapons every 60 seconds.
you can obviously adjust this to whatever you want.
you can also see that I have used the “ForceSwitchInventory” block.
i did. this to make sure that the ai only use the weapon I have selected for them, so they don’t accidentally switch to side arm or grenades etc.
doing it this way means they will ONLY use the weapon you select for them.
you can see that I have repeated the weapons switch blocks, one after another underneath.
this is a crude way of doing things but it gets the job done at least.
you can add as many weapon switches as you like. Just keep copying and pasting the weapon blocks and just select different weapons.
also note that you need to make sure you only select weapons that correlate to the specialists.
for example, you can’t give 2042 ai specialists weapons from 1942, etc.
the weapons you select need to match the era of ai that you’re using.
let me know if you need further help.