YesNoOk
avatar

Damage and Variable (Read 1119 times)

Started by Kenthos, September 17, 2009, 10:55:31 pm
Share this topic:
Damage and Variable
#1  September 17, 2009, 10:55:31 pm
  • avatar
  • *
Is there a way to transfer damage number to a Variable? like if they are set to hit you with a damage set to 25, then a variable will record what you got hit by?
Re: Damage and Variable
#2  September 17, 2009, 10:57:35 pm
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
gethitvar


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: Damage and Variable
#3  September 18, 2009, 12:11:30 am
  • avatar
  • *
Thanks, this will make it add the damage to the Variable right?

[State 0, VarAdd]
type = VarAdd
trigger1 = movehit
v = 6
value = gethitvar(damage)
Re: Damage and Variable
#4  September 18, 2009, 01:31:04 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
No, that won't i thought you were saving the damage you took, not the damage you did.

Do you want to save the damage that's hitting YOU
Or how much you hit them WITH.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: Damage and Variable
#5  September 18, 2009, 09:29:00 am
  • avatar
  • *
how much they hit me, but now that i'm looking at it that was pretty dumb of me. I got it to work now thanks.