Hit Groups

From EventScripts Community Encyclopedia

Description

Defines where on the body the player was hit/killed

Hit Groups

Image:css_hit_group.jpg


event player_hurt
 {
   if (event_var(hitgroup) equalto 1) then es_msg Your Head was Hit!! 
   if (event_var(hitgroup) equalto 2) then es_msg Your Upper Body was Hit!!
 }
blog comments powered by Disqus