max_nexus
Nexus limit, i.e. file cache allocated, in
MB.
Range:
0 .. 200000
Type:
var, read-only
Remarks:
- The nexus limit can be given by the -nx command
line option. It can not be set through this variable.
- The amount of the nexus consumed by the current level can be read
through the nexus variable.
-
Prior to version 8.11, variables counted memory in KB, not MB. This behavior can be restored by setting the compatibility variable to below 14.
Example:
if (max_nexus - nexus > 30)
ent_create("big_model.mdl",nullvector, null);
else
ent_create("small_model.mdl",nullvector, null);
See also:
-nx, nexus, Map
Properties, statistics
► latest
version online