Page 1 of 1

Lighting one by one

Posted: Thu Mar 25, 2004 12:17 pm
by agentmad007
hi

i tried to get some entity light ON.... Only when i trigger then make them shut down at the end of my thread with the key : show and hide but it dont work

dont know how to script it

gate1_trigger call the thread stargate_on

i got 7 lights that i want to light on one by one then off at end

Code: Select all


main:


   $gate1 hide 
   $gate1_tele nottriggerable 
   $light1 hide
   $light2 hide
   $light3 hide
   $light4 hide
   $light5 hide
   $light6 hide
   $light7 hide
level waittill spawn 

end 
//////////////////////////////////////////// 
///////////STARGATE//////////// 
//////////////////////////////////////////// 


stargate_on: 
$gate1 playsound unauthor
$light1 show
wait 1
$light2 show
wait 1
$light3 show
wait 1
$light4 show
wait 1
$light5 show
wait 1
$light6 show
wait 1
$light7 show
$gate1 playsound alarm
$gate1 show 
$gate1_tele triggerable 
wait 1
$gate1 hide 
$gate1_tele nottriggerable 
$light1 hide
$light2 hide
$light3 hide
$light4 hide
$light5 hide
$light6 hide
$light7 hide
end  
lights are On at map starting
i seted up a k/v of light /500 and i got only a small effect !!!!!!

TY

script models

Posted: Thu Mar 25, 2004 12:29 pm
by tltrude
Are they script models with the fx dummy model set? You can not use real entity lights. They must be dynamic lights--same lights used for muzzle flashes. Search for "dynamic lights" in the forums.

Posted: Thu Mar 25, 2004 1:31 pm
by agentmad007
mmm you mean i create an entity light , right clik in 2d vie and mke it script model
and i add
k/v model fx/dummy.tik

???????

ok i ll check dynamic light to got more info thx