damage from glass

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
User avatar
MxPxpunk
Lance Corporal
Posts: 20
Joined: Fri Sep 12, 2003 4:12 pm

damage from glass

Post by MxPxpunk »

does anyone know how to add damage to a player when a glass window above them is broken. is it kinda like the bomb radius?
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

window

Post by tltrude »

Unfrotunately a func_window will not set off a setthread when it breaks. It may be possible to have a thread in your script that will check to see if the broken version of the window is visible. But, I don't know the code for it. The area below the window would have to be a trigger that hurts the players, if they are touching it, when the broken window shows up.

I wonder if a window can target a trigger_relay which would then use a setthread to activate the trigger that hurts players? Anyway, I'm sure it is possible somehow.
Tom Trude,

Image
Post Reply