gas1:
$gas2trig setthread smoke
$gas2trig message " 2nd floor Gas on "
local.trig wait 1
local.trig delay 0
end
smoke:
$gas2trig nottriggerable
local.smoketrig wait 0
{
local.smoke = spawn "models/fx/fx_mgas.tik" targetname "smoke2"
local.smoke.origin = ( 624 268 238 )
local.smoke = spawn "models/fx/fx_mgas.tik" targetname "smoke2"
local.smoke.origin = ( 894 177 243 )
local.smoke = spawn "models/fx/fx_mgas.tik" targetname "smoke2"
local.smoke.origin = ( 1557 662 240 )
local.smoke = spawn "models/fx/fx_mgas.tik" targetname "smoke2"
local.smoke.origin = ( 513 -295 240 )
local.smoke = spawn "models/fx/fx_mgas.tik" targetname "smoke2"
local.smoke.origin = ( 278 1519 231 )
local.trig = spawn trigger_multiple "targetname" "smoke2"
local.trig.origin = ( 624 268 238 )
local.trig setsize ( -100 -100 -10 ) ( 100 100 80 )
local.trig setthread burn
local.trig wait .5
local.trig = spawn trigger_multiple "targetname" "smoke2"
local.trig.origin = ( 894 177 243 )
local.trig setsize ( -100 -100 -10 ) ( 100 100 80 )
local.trig setthread burn
local.trig wait .5
local.trig = spawn trigger_multiple "targetname" "smoke2"
local.trig.origin = ( 1557 662 240 )
local.trig setsize ( -150 -150 -10 ) ( 150 150 80 )
local.trig setthread burn
local.trig wait .5
local.trig = spawn trigger_multiple "targetname" "smoke2"
local.trig.origin = ( 513 -295 240 )
local.trig setsize ( -100 -100 -10 ) ( 100 100 80 )
local.trig setthread burn
local.trig wait .5
local.trig = spawn trigger_multiple "targetname" "smoke2"
local.trig.origin = ( 278 1519 231 )
local.trig setsize ( -100 -100 -10 ) ( 100 100 80 )
local.trig setthread burn
local.trig wait .5
}
wait 38
$gas2trig triggerable
$smoke2 nottriggerable
end
burn:
local.player = parm.other
local.player hurt 5 fire //how much damage per trigger
end