Frictional Games Forum (read-only)

Full Version: Use item to break window?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
In my map there is a locked door and the only way to get out is to break open the window. Can someone help me script this and give me an example. I am thinking so that when a brick collides with it, it deactivates the normal window and activates a broken one in the same spot.
That's exactly how it works. Using a CollideCallback, just have the broken window activate and the regular one deactivate. Toss in some sounds and particles and you're good.
(12-05-2011, 02:59 AM)Obliviator27 Wrote: [ -> ]That's exactly how it works. Using a CollideCallback, just have the broken window activate and the regular one deactivate. Toss in some sounds and particles and you're good.
Thanks, the only thing is that there is no active box on the entity.
There under the Entities -> Special tabs.