1. Hello Guest! It's with a heavy heart that we must announce the removal of the Legacy GMC Archive. If you wish to save anything from it, now's the time! Please see this topic for more information.
    Dismiss Notice

Health and Damage

Discussion in 'Programming' started by Thiccypoo, Jun 12, 2017.

  1. Thiccypoo

    Thiccypoo Guest

    I'm not sure how exactly yo do it, I've watched tutorials but they don't seem to help, I've tried setting health -1 relative to the amount of health given (3) but it kills the player and the enemy , which is set to destroy on contact with the player. I've also tried creating an object that moves along below the player that when comes in contact with the enemy entity it destroys it but when I set it to follow below the player it continues to go on through the player and out of screen. When I turn off relative it does the same thing.

    Update I fixed damage, now it takes away 1 HP when I touch the enemy
  2. Guy_Typing

    Guy_Typing Member

    Feb 19, 2017
    No offense but this is confusing how you word this. I've noticed no one has replied yet (other than myself just now). My suggestion is to rewrite your question and do it with care, making things very clear what you are asking, so we can better assist you.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice