Hi all, I'm working in new version wich improves IA's one more time. This is an advance, IA will use formations depending on the situation, for example in close combats will remain together. I am working in a better system to find and use vehicles too, that allow IA to use empty vehicles in base or of citicen in towns. This system will allow me to use helis and paratrops if far far away.
Originally Posted by CaptainBravo
KRON_UPS_reinforcement allows IA to send reinforcements. How it works, u need a group of IAs that will be reinforcement, that groups must have atribute "reinforcement" in this init, like this:
nul=[this,"town", "nomove","reinforcement", "delete:",600] execVM "scripts\upsmon.sqf";
Well, now only you need is to set KRON_UPS_reinforcement = true when u want to be reinforces called, for example when enemy is detected in the heart of a base or town, you create a trigger of detection and put in act:
If u put some empty trucks or cars near u could see that IA uses it to aproach the near war point.
KRON_UPS_reinforcement = true;
I have been testing with calling UPSMON with spawn, the only way to run as spawn is compiling the function in the init of each unit, but I have not noticed diference. If any one want to test it try this:
UPSMON = compile preprocessFile "scripts\UPSMON.sqf";
nul=[this,"town", "move","reinforcement", "delete:",600] spawn Upsmon;