Half-Life: Alyx

Half-Life: Alyx

Expand the world of Half-Life: Alyx
Browse the Half-Life: Alyx Workshop to find the best new addons created by the community, or install the free tools yourself and start making your own Half-Life: Alyx content.
Learn More
RuneSFM 4 Aug, 2024 @ 1:25pm
Func_shatterglass Restore
I'm trying to make a map and I have the func_shatterglass in and I want it so that it restores itself after a period of time, I've tried using the restore input but nothing seems to happen. Does anyone know a fix for this?
< >
Showing 1-5 of 5 comments
Schranzi 5 Aug, 2024 @ 4:17pm 
I would try following :

Go in the Outputs of your ShatterGlass and there

My output named : OnBroken
Target : Your Shatterglassname
Via this Input : Restore
After a delay of (your choice when)
Fire once only : (your choice)

give it a try and give a response
Last edited by Schranzi; 5 Aug, 2024 @ 4:26pm
RuneSFM 5 Aug, 2024 @ 6:06pm 
Originally posted by Schranzi:
I would try following :

Go in the Outputs of your ShatterGlass and there

My output named : OnBroken
Target : Your Shatterglassname
Via this Input : Restore
After a delay of (your choice when)
Fire once only : (your choice)

give it a try and give a response
I've tried it and the results still seem to be the same as before. Could it have something to do with nav or something?
Schranzi 6 Aug, 2024 @ 12:09am 
What exactly do you want to do because you want the glass to be restored?

I have never tried this (never made a Map) so I don't have a solution except that you might create the glass twice and hide a part. As soon as the first glass is broken you fade in the other glass (which is whole) after a specified time. Maybe that would be a solution? You could use a Trigger than as Example
Last edited by Schranzi; 6 Aug, 2024 @ 12:13am
RuneSFM 6 Aug, 2024 @ 12:30am 
Originally posted by Schranzi:
What exactly do you want to do because you want the glass to be restored?

I have never tried this (never made a Map) so I don't have a solution except that you might create the glass twice and hide a part. As soon as the first glass is broken you fade in the other glass (which is whole) after a specified time. Maybe that would be a solution? You could use a Trigger than as Example
Yeah for some reason the Restore input just doesn't seem to work. I'm starting to think it's just a bug that needs to be fixed. But i'll keep looking and maybe do some of those improvisations you suggested. Thank you for all the help you could provide!
Schranzi 7 Aug, 2024 @ 2:30pm 
You could try putting a trigger around the window that breaks.

You then tell the trigger that if it is shot at (which is the case when you break the window), it should restore the window after time X or that it triggers the event
< >
Showing 1-5 of 5 comments
Per page: 1530 50