Little Fighter Empire - Forums
[solved] Ball That Reacts To Someones HP - Printable Version

+- Little Fighter Empire - Forums (https://lf-empire.de/forum)
+-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7)
+--- Forum: Data Changing (https://lf-empire.de/forum/forumdisplay.php?fid=11)
+---- Forum: Solved Problems (https://lf-empire.de/forum/forumdisplay.php?fid=14)
+---- Thread: [solved] Ball That Reacts To Someones HP (/showthread.php?tid=3775)



[solved] Ball That Reacts To Someones HP - Alajah - 10-12-2009

I'd like to know how to make a ball that reacts to a characters HP & Mp
and dissapears when the characters dead or out of mp


RE: Ball That Reacts To Someones HP - HappyHouR - 10-12-2009

(10-12-2009, 11:44 PM)Alajah Wrote:  I'd like to know how to make a ball that reacts to a characters HP & Mp
and dissapears when the characters dead or out of mp

Its possible to hp(I mean when your dead) and mp. For mp: You need to use hit_d in moves or basic frames.hit_d will send your character to frame with high bdy that cause the ball to react(via ik8 of course) only when you cant use a frame with amount of mp you don't have. Like in the fire run of firen.when hes out of mp he goes to frame that send him to standing.

An example :

frame 1 next : 2 hit_d: frame x

Its goes to frame x if you got less then 200 mp.

frame 2 mp: -200
(You need mp: -20 since you want your character to go that frame when its out of mp .You could use a lower value)

frame x high bdy that the ball react to using his ik8 .


For hp reaction:
opoint a ball(state: 3005) in lying frames(231/230) .
The opointed ball wait(so its works only when the character is dead) bit , then react(ik8 ) to the character and goes to a frame with itr that hit your ball and disappear .
Your ball goes to frame 30 (next: 1000) .You need state: 3000 or state: 9997 if you don't wanna see the ball shadow.The ball will be sent to frame 20 with state: 9997.You put there next: 1000.

.
Just a note: Use this state: 9997 only if the ball always stick to your character.If the ball gets to the border of the screen with state: 9997 its cause the game camera to move.


Hopeful its understandable & readable.