Page 1 of 1

all tuts offline from here to TMT - light problem

Posted: Sat Aug 09, 2003 1:09 pm
by {R.E.D}**Duke Justice**
HI

I have seen many read thhis TUT, but all are offline.

I need help in making a shootable light.

First the light:
_color 1 1 1
classname light
light 600
origin 472 348 -55
radius 30
spawnflags 0
spot_angle 90
targetname kaput

Second the trigger:
classname trigger_multiple
health 1
setthread lightoff
spawnflags 128 (damage check box)

Then the script:
lightoff:
$kaput light 0 0 0 500
end


Am I missing something?

Regards

Duke

light

Posted: Sat Aug 09, 2003 8:06 pm
by tltrude
You can't turn off an normal classname light entity. It has to be a "dynamic" light.

classname script_model
model fx/dummy.tik
overbright_range 2.0 // Set as you like
targetname kaput

The trigger is ok.

Change the script to:

lightoff:
$kaput remove
end

Posted: Mon Aug 11, 2003 2:50 am
by {R.E.D}**Duke Justice**
thks man.

I'll try this. Post back when I do.

Regards.

Duke