There was the "Set shadow light" command, but for some reason my recent test of the command shows no active results as if the command is ignored; I could even pass an illegal light number to the command and it doesn't throw open an errors under DBPro U7.7.
The Set shadow light command has the syntax:
Set Shadow Light Lightnum,X,Y,Z,Range
This might be the solution, but does anyone know the main purpose of this command?
Edit sample code:
Rem Project: Dark Basic Pro Project
Rem Created: Friday, April 20, 2012
Rem ***** Main Source File *****
Sync on
Sync rate 60
Autocam off
Backdrop on
Color backdrop 0
Make object cube 1,100
Position object 1,0,50,0
Make object plain 2,1000,1000
Rotate object 2,90,0,0
Set shadow shading on 1
set point light 0,500,500,500
Set Light range 0,10000
Make light 1
Position light 1,-500,500,-500
Set shadow light 1,-500,500,-500,10000
Set light range 1,10000
hide light 0
Do
y=Wrap(mousemovex()+y,0,360)
Set camera to follow 0,0,0,y,750,200,1,0
Point camera 0,50,0
Sync
LOOP
End