05-26-2014, 01:48
05-26-2014, 02:11
Code:
delete_lights()
{
lights = getEntArray("name of the targetname", "targetname");
for( i = 0; i <= lights.size; i++ )
{
lights[i] hide();
}
}
in init, find out what the targetnames are for the lights and replace it above and you're good to go.
05-26-2014, 11:42
(05-26-2014, 02:11)DidUknowiPwn Wrote: [ -> ]level thread delete_lights();Code:delete_lights()
{
lights = getEntArray("name of the targetname", "targetname");
for( i = 0; i <= lights.size; i++ )
{
lights[i] hide();
}
}
in init, find out what the targetnames are for the lights and replace it above and you're good to go.
Some "lights" are "built-in" bsp/d3dbsp.
05-26-2014, 15:34
Could also be some other type of light. Haven't mapped in a while but it still can be removed.