Black Ops III

SetAILimit

Allows you to specify a max number of active AI - which over-rides the MAX_AI functionality in the engine, when it comes time to spawn in new AI. Setting the value higher will not give you more AI than the system supports.

Example:

SetAILimit( 10 )