This is my first time trying to make a custom trap. I got everything set up, but the zombies do not take any damage when they walk through the damage trig on the trap. The players do however take damage so I know the damage trig is working.
I used part of makecents spinning blade trap tutorial as well as the verruckt electric trap script to get it to work, but that is the only problem.
if(IsPlayer(ent)) { iprintlnbold("ENT IS PLAYER"); if(ent.health > 51) { ent dodamage( 50, ent.origin ); } else { if(!ent maps\_laststand::player_is_in_laststand()) { radiusdamage(ent.origin,50,ent.health + 100,ent.health + 100); } } } else { iprintlnbold("ENT IS ZOMBIE"); ent dodamage(ent.health + 666,ent.origin); } } }
Can anyone tell me if anything is wrong here? It does print "ENT IS PLAYER" when the player walks through the trap, but it doesnt print anything when the zombies do.
Last Edit: October 11, 2015, 07:25:58 pm by thezombiekilla6
If you want scripts / features made for you, then contact me by PM or email / skype etc it will cost you tho so if you have no intention of reciprocating don't even waste my time