Coin/point For Each Hit On Enemy

Discussion in 'How Can I...?' started by Crooklyn, Jan 23, 2018.

  1. Crooklyn

    Crooklyn Boxer

    Joined:
    Dec 10, 2016
    Messages:
    9
    Likes Received:
    1
    Hey All,

    I wanted to make an enemy give a point/coin every time you hit it. Not just one time when you defeat the enemy. I know of the coin action hack to reward you coins/points when you kill. But what I am trying to do is when you hit the enemy with more than 1 health. it rewards point/coins for every hit you make on it.

    So for example:
    Enemy has 50 health - Character hit/bullet equals 1 health taken away each hit. You will get rewarded 50 point/coins in total to match the enemies health. 50H-50C, 100H-100C, etc.

    I tried putting the same coin action as i did for the defeat animation in the taking damage animation for the enemy in hopes that it will work. It doesn't. Is this possible to do at all or can someone help with another hack/trick to make this work.

    Best,
    Jason
     
  2. wesam_badr

    wesam_badr Miniboss Boxer

    Joined:
    Oct 10, 2015
    Messages:
    1,065
    Likes Received:
    479
    I think it should work with the taking damage animation
    I THINK you just need to think outside the box.
    are you pasting the action directly into taking damage box?
    why you don't try spawned object with 0 damage and that reward a coin instead if you know what I mean
     

Share This Page