Syntax

Result = dbMakeLight(LightID)

Description

If #PB_Any is used as the LightID parameter, the new ID will be returned as 'Result'. Otherwise the value of 'Result' is the same value passed as the LightID parameter.

This command will create a new light in the scene. You can create up to 7 new lights, numbered 1 to 7. Light zero is the default light and is always present. The light number must be specified using an integer value.

See Also

dbDeleteLight, dbLightExist