removing a entitiy/brush Created 15 years ago2008-09-11 19:48:47 UTC by CactusJack CactusJack

Created 15 years ago2008-09-11 19:48:47 UTC by CactusJack CactusJack

Posted 15 years ago2008-09-11 19:48:47 UTC Post #255196
I want to have it so when my func_breakable breaks, the lights under it are removed. So I set the func_breakables target to a door outside my map, and then set the doors kill target to the light. This sort of worked, but next round the light was gone before I broke the func_breakable. Does anyone know away to do this, (I am going to have it remove more than one light).
Posted 15 years ago2008-09-11 20:06:33 UTC Post #255197
Hmm well place a trigger_multiple where the player spawns and tell it to turn the light on. So each round it turns the light back on.
Habboi HabboiSticky White Love Glue
Posted 15 years ago2008-09-11 20:09:20 UTC Post #255198
it isn't turning the light off, its completely removing it. hence the KILL target
Posted 15 years ago2008-09-11 20:10:50 UTC Post #255199
I see. Sorry it's late. Why do you remove them? Just trigger them to turn off?

Otherwise instead of turning on have it spawn a light each round with the name that is used to kill it.
Habboi HabboiSticky White Love Glue
Posted 15 years ago2008-09-11 20:19:45 UTC Post #255200
because my set up is like this. I have stage lights with rotating lights (like in a rave). if you break the rafters the stage lights also break, therefore killing the lights. The problem is, they aren't lights. They are non solid cones as a func_rot. So I can't just turn them off.
Posted 15 years ago2008-09-12 00:55:21 UTC Post #255204
You could try using an env_render to toggle the appearance of the cones.
Strider StriderTuned to a dead channel.
Posted 15 years ago2008-09-12 07:34:41 UTC Post #255208
Ah that's more useful, I thought they were lights.

Try what Strideh said.
Habboi HabboiSticky White Love Glue
Posted 15 years ago2008-09-12 08:53:45 UTC Post #255212
I did, worked great. I haven't used env_render before, thanks Strider. Thanks for trying to help Habboi.
Posted 15 years ago2008-09-12 09:38:44 UTC Post #255217
No problem. I think I've only ever used it once or twice myself, but I can see it being pretty useful.
Strider StriderTuned to a dead channel.
You must be logged in to post a response.