Hi, is there a script so that i can make the monster hit the door and break it in one hit? and how can i make him run to the pathnode behind the door?
so basically, i want him to run to the pathnode but the door is in the way so i want him to run hit it and break it in one hit. any help?
This should be useful:
SetPropHealth("doornamehere", 1);
^Speaks for itself really. It will make your door's health instantly drop to one which will make it die in one hit from the grunt.
You could make a new grunt monster in the HPL Model Editor that can break a door in one hit. It's easy and takes just some minutes.
1) Open servant_grunt.ent in the model editor
2) Press settings -> user defined variables
3) Scroll down till' your find BreakDoorAttackDamage, change the values to 100 / 100
4) Save it as a new entity, maybe servant_grunt_breakdooronehit.ent
5) Use your new grunt in your map
I have not tried this, but I think it should work :]