change color of corona_red?
Posted: Sat Sep 29, 2007 2:14 pm
ok im still new at scripting but im adding a few things to stock maps and i have my teleport and triggers and everything working great but i would like to make the corona_red a white light.....i tried using local.smoke1 light 1 1 1 but it didnt work...might have put it in wrong place though here is that part of the script with the color change taken out....i just need to find out how to change the color....thx in advance yall
Code: Select all
level waittill spawn
thread teletrig
end
teletrig:
local.smoke1 = spawn script_model model "fx/corona_red.tik"<<<i had it after this
local.smoke1 origin ( 900 1392 -115 )
local.smoke1 scale 1
local.smoke1 notsolid
local.trig = spawn trigger_multiple
local.trig.origin = ( 938 1392 -74 )
local.trig setsize ( -40 -40 -15 ) ( 40 40 15 )
local.trig targetname port
$port setthread teleport
end
teleport:
self waittill trigger
local.player = parm.other
local.player tele ( 123 -1681 275 )
end