Matrix1 Utility Plug-ins

FIND FREE TERRAIN


Syntax

ResourceID = FIND FREE TERRAIN( )
ResourceID = FIND FREE TERRAIN (Start, RangeSize)

Description

Searches for an unused terrain ID.

The first function will search for and return an unused terrain ID within the range 1 to 1024.

The second function will search for and return an unused terrain ID within the range specified, but not outside of 1 to 1024.

If there is no free ID available, then a value of 0 will be returned.

Go back to ...

Matrix1Util_05 Commands Menu
Matrix1 Utils Main Index
Matrix1 Utils Command List
Commands Menu
Main Menu

Copyright © Ian Mold - Matrix1 Software 2006 - 2011