MAKE LIGHT This command will create a new light in the scene.
Syntax
    MAKE LIGHT Light Number
Parameters
    Light Number
Integer You can create up to 7 new lights, numbered 1 to 7. Light zero is the default light and is always present
Returns
This command does not return a value.
Description
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.
Example Code
    sync on

    autocam off

    color backdrop rgb(0,0,0)

    load image "ground.jpg",1

    make matrix 1,1000,1000,100,100

    prepare matrix texture 1,1,1,1

    position matrix 1,-500,0,-500

    position camera 0,100,0

    set ambient light 20

    color ambient light rgb(64,64,128)

    hide light 0

    make light 1

    color light 1,512,100,100

    position light 1,0,50,400

    set light range 1,500

    do

    loop

    delete light 1

    end
See also
LIGHT Commands Menu Index