Announcement

Collapse
No announcement yet.

player health problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    player health problem

    Hi All,

    How to decrease player health when blasting of staticmesh occurs near to player?

    Thanks in advance....

    #2
    If you mean something like a barrel exploding and causing radius damage, look into the HurtRadius function. A great reference for this kind of thing is this page.

    Comment


      #3
      ya its working.....thank you....
      but whenever player hits near to himself,health going to decrease...
      i dont want that in my game....

      how can it b????

      thanks in advance...

      Comment


        #4
        I'm not sure exactly what you mean, but if you don't want the player to take damage, you could override the player's TakeRadiusDamage() function to nullify or modify the damage caused by an explosion.

        Comment

        Working...
        X