The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Enemy pushing over gate instead of attacking it
Damascus Offline
Senior Member

Posts: 646
Threads: 118
Joined: Mar 2012
Reputation: 29
#1
Enemy pushing over gate instead of attacking it

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?

(This post was last modified: 08-16-2012, 09:09 PM by Damascus.)
08-16-2012, 08:19 PM
Find


Messages In This Thread
Enemy pushing over gate instead of attacking it - by Damascus - 08-16-2012, 08:19 PM



Users browsing this thread: 1 Guest(s)