Into the function which loads the level.
Just as in the example put the line:
max_entities = your_number_here;
before your level_load instruction, wether its in the main function or somewhere else does not matter.
edit:
by the way:
I assume that you only have one main function which I assume is in the main script. So where is the sense in asking?
Last edited by Xarthor; 06/27/07 17:20.