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)
I have an area of my map where poisonous gasses fill the room and kill you if you mess up the puzzle and become trapped. The problem is that the Slime Damage does not seem to be able to kill the player. It just keeps creating more and more damage as time progresses. Is there a script to cause the Slime Damage area type to kill the player?
An alternative method for using the Slime Area I think may work is using a Script Area and coding it so that when the player enters, they take damage. I have a very basic knowledge of scripting though, so I am at a loss and my script does not work (posting the .hps below).
I also tried copying the Slime Damage script directly from the game.cfg file, but that didn't work so I gave up there. If there is some sort of damage or kill area script out there I don't know about, please let me know as well!
Ah! Just remembered that The Cistern Entrance level does have a poisonous gas area with the following script. Going to try and implement it into my map using the same techniques and maybe this can turn into a tutorial :p
So simply copypasta didn't work with that script. Viewed the Cistern map and copied the PoisonStart area and Stop area and plopped them in the spot on my map and they did not work with the script. The map loads, but when the player enters the areas, nothing happens.
(This post was last modified: 08-15-2014, 08:03 AM by DaPurpleHippo.)