I know how to create lights ect..
But I don`t know how to move lights (in while loop)

What I meen:
Code:
sc_light_create(vector(camera.x, camera.y, camera.z), 1000, vector(25,25,25), SC_LIGHT_SPOT | SC_LIGHT_SPECULAR | SC_LIGHT_SHADOW , vector(camera.pan, camera.tilt, camera.roll), 90);



This creates a light. I can`t put it in a while loop, otherwise it would constantly create lights and kill my fps.

Is there a way to set shade-c lights to moving objects without killing fps?

Random