YesNoOk
avatar

[SOLVED] Enemy's life (Read 180 times)

Started by jjmugen, August 28, 2011, 03:44:46 pm
Share this topic:
[SOLVED] Enemy's life
#1  August 28, 2011, 03:44:46 pm
  • **
Hi, guys.

I'm working on a supermove that change user's life with enemy's life.
I want to use this alg:

1. Save p1life in a var(x)
2. Set value of p1life = value of p2life
3. Set value of p2life = value of var(x)

The problem is I don't know how to change p2 life this way. I thoutgh it was with
"TargetLifeAdd" state, but I think is not...

Would you tell me how to change p2life for an specific value?

Thanks :)
Last Edit: August 28, 2011, 04:06:48 pm by jjmugen
Re: Enemy's life
#2  August 28, 2011, 03:56:24 pm
  • ******
  • I hang out tough. I'm a real boss.
    • USA
    • litotichues.com/
You can't just change another player's health unless you hit them.
Re: Enemy's life
#3  August 28, 2011, 04:06:33 pm
  • **
OK. I supposed that.
Thanks for helping, I will change p2 life by a HitDef.