08-16-2012, 08:19 PM
How can I get an enemy to push open a door rather than break it open? I have a Suitor that I want to walk through the elevator_door gates without attacking it. Unlike most other swing doors, the player can simply push it open by walking against it, but the enemy still attacks it anyway. I thought it would be possible by making SetSwingDoorClosed false for it, but that ends up just setting it wide open to begin with.
[SOLVED] In my chapter I've placed a lock that you must use acid on. It then changes to an acid padlock and breaks immediately (set to 0 health). My problem is that after this, if you leave the map and come back in, the door is closed and the acid padlock is back on again at full health, with no way to break it again. I've tried making it set inactive under OnEnter(), but that doesn't seem to do anything. How can I either keep the lock broken after changing maps, or remove the broken lock altogether?
[SOLVED] In my chapter I've placed a lock that you must use acid on. It then changes to an acid padlock and breaks immediately (set to 0 health). My problem is that after this, if you leave the map and come back in, the door is closed and the acid padlock is back on again at full health, with no way to break it again. I've tried making it set inactive under OnEnter(), but that doesn't seem to do anything. How can I either keep the lock broken after changing maps, or remove the broken lock altogether?