I made a flashlight to my model:

Code:
vec_set(d3d_spotlightcone,vector(20,90,5));
my.blue 	= 255;
my.red 	= 255;
my.green = 255;
my.lightrange = 500; 
my.flags2 |= SPOTLIGHT;


1. This part is in de begin of my player action. How can I connect it to my camera so it also workst when looking up?

2. How can I change the size of the spotlight (not the lightrange) without making the spotlight look and move with triangles?


The best games are the games you create yourself.