FANDOM


Syntax


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


Description


Searches for an unused light ID.

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

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

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

Community content is available under CC-BY-SA unless otherwise noted.