You are welcome. The nodes are limited to 300 per level in the demo, but you can increase the limit by playing with the arrays at the top of the ai.c file. Everything is commented.

The number of enemies is limited to 50 per level, but you can increase that limit by changing an array at the top of the script as well.