door open alert
Posted: Thu Jun 30, 2005 5:36 am
I want to flash a light when a door opens in a stock map. How to activate my thread?
Code: Select all
viper:
local.loonybin = spawn trigger_use
local.loonybin targetname mywifethinksivelostit
local.loonybin.origin = ( 80 500 300 )
local.loonybin setsize ( -30 -30 0 ) ( 30 30 100 )
$mywifethinksivelostit waittill trigger
local.player = parm.other
local.player stufftext "say Its me using the door"
$mywifethinksivelostit remove
wait 2
thread viper