How I can subtract one value to another continuously ?

Im doing a combat system and i need to substract the attack value to the life value of the enemy. I try constraining 3 attributes

Constrain: "EnemyLifeAtk" to: "EnemyLife-AttackValue"

This works but doesnt substract continuosly, i need to substract to 0

Help! :)

Comments

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
    Could you use the interpolate behavior to reduce the value to 0 over a set period of time?

    Just a thought, something to try.
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    Maybe you can explain a bit more how you want the combat system to work. Is it automatic in that it starts and continues until enemylife=0? Is it turn based? Can you give an example with actual numeric values so that we get a better idea?
Sign In or Register to comment.