Frictional Games Forum (read-only)

Full Version: Is it possible to make an entity unbreakable on contact with an area?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I wanted to make a door behind a barricade (the bar thing from Justine) unbreakable after the bar hits the area I have placed there.



Does anyone know how I can do this if it is possible at all?

Thanks in advance
by unbreakble, do you mean unbreakable for enemies? If I understand you right, you want to go through a door, which will lock itself so the enemies can't break through. If you mean that, you will have to deactivate the grunt and refrain from using sounds, particles etc.
I haven't seen a function in the engine scritps page to set a door breakable/unbreakable, but I guess you can work around that by setting the prop health to 100 once it reaches less.
You can set doors to be unbreakable in the level editor. You'll have to rely on activating and deactivating the doors from then on (though, i don't see the point in making it based on conditions).
(07-09-2012, 08:38 PM)Your Computer Wrote: [ -> ]You can set doors to be unbreakable in the level editor. You'll have to rely on activating and deactivating the doors from then on (though, i don't see the point in making it based on conditions).


Well I'll explain real quick so it makes more sense...

That point is kind of the point where you escape from the enemy so when you put the bar in front of the door the enemy (in this case Malo) can't break through the door anymore

But thanks this really helped me a lot guys, thanks.


-Imre