Hey everyone.
Is it possible to check to see if
only a block was hit with a c_trace result?
This checks to see if an entity was hit:
trace_mode = ignore_me + ignore_you + use_box + ignore_passable;
trace(player_sword.sword_tip,player_sword.sword_base);
if (result != 0){
if (you != null) {
if(you.pain==0){
you.health -= sword_power;
you.pain = 1;
}
}
}