Half-Life: Alyx

Half-Life: Alyx

扩展《半衰期:爱莉克斯》的世界
浏览《半衰期:爱莉克斯》创意工坊,找到社区创建的最佳全新加载项,或是自己安装免费工具,开始制作属于自己的《半衰期:爱莉克斯》内容。
了解更多
Rune ^w^ 2024 年 8 月 4 日 下午 1:25
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?
< >
正在显示第 1 - 5 条,共 5 条留言
Schranzi 2024 年 8 月 5 日 下午 4:17 
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
最后由 Schranzi 编辑于; 2024 年 8 月 5 日 下午 4:26
Rune ^w^ 2024 年 8 月 5 日 下午 6:06 
引用自 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 2024 年 8 月 6 日 上午 12:09 
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
最后由 Schranzi 编辑于; 2024 年 8 月 6 日 上午 12:13
Rune ^w^ 2024 年 8 月 6 日 上午 12:30 
引用自 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 2024 年 8 月 7 日 下午 2:30 
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
< >
正在显示第 1 - 5 条,共 5 条留言
每页显示数: 1530 50