[v1.00] The first working iteration of my AI framework. It is meant to be a foundation for an advanced unit AI and includes tools such as;
-Universal unique flag ID generator;
-Flagging system that can flag a configurable amount of units;
-Unit indexing for use in unit formations and personal memory cell address for each unit;
-Unit jump loops logic that allows to save the processor's @counter to unit's flag, then resume the program from the saved @counter on the next cycle;
By default the schematic includes a simple random patrol logic and controls 5 flares.
Setup:
-You can configure unit amount and memory cell names/count in the left processor. An important remark is that the unit max currently has a hard limit of 47 units;
-You can write the unit controlling code in the right processor.
-Use setJump variable to store the @counter which would be used in the next iteration;
-Use index variable as the slot index for the memory cells to store something per each unit;
-By Nester23