Lighting one by one

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
agentmad007
Brigadier General
Posts: 570
Joined: Tue Feb 24, 2004 3:52 pm

Lighting one by one

Post 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
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

script models

Post 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.
Tom Trude,

Image
agentmad007
Brigadier General
Posts: 570
Joined: Tue Feb 24, 2004 3:52 pm

Post 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
Post Reply