Buu342 Posted May 14, 2012 Hello. I just wanted to know if it is possible to have a floor that only damages 1% of the players health at a time. Also is it possible to reverse the technique? (Heal them 10% instead of damaging them with a certain floor?) Thanks 0 Share this post Link to post
Krispy Posted May 14, 2012 MetroidJunkie said:#include "zcommon.acs" Script 1 Enter { DamageThing(1); Delay(35); Restart; } works like a charm. 0 Share this post Link to post
40oz Posted May 14, 2012 just put some of them there cinderblocks on it, that'll do it. 0 Share this post Link to post
scifista42 Posted May 23, 2012 There is also a script function Sector_SetDamage. It will damage the player only if he's standing on floor with specified tag. Example script: -------------------------------------------- #include "zcommon.acs" SCRIPT 1 ENTER { Sector_SetDamage(27,1,0); // sector with tag 27 will damage 1% of player's health } -------------------------------------------- But this function can only hurt players, not heal them. You can give a sector special 196 (Healing Sector) to a sector - it will give the player 1% health every second, until he has 100% health. Works only if the map is in "Doom in Hexen format" or UDMF format. 0 Share this post Link to post