bignekidbat said:I'm just getting back to working on my zelda wad again but there's a problem
I'm stuck on making a monster get knocked back when hit

so is it possible to have monsters get knocked back while there pain is triggered

All you need to do is set the mass to an appropriate amount. Whether you're using DECORATE or DeHackEd, mass determines how light or heavy an enemy is: an enemy with a low mass will get pushed back by projectiles, while an enemy with a high mass won't. Setting the mass to 1 is always fun. :P I don't think it's possible to have the monster recoil only when it's pain state is triggered, but you could probably get around that by having a high pain chance. Hopefully I've helped you out. :)

if using acs (zdoom doom in hexen) you can use:http://zdoom.org/wiki/ThrustThing
You probably want to get the xy position of the player and the xy of the monster and thrust in that angle using cos and sin. You can probably put some sort of 'script execute' in the decorate pain state to trigger a script that does that.