Little Fighter Empire - Forums
[solved] "Binding" Attacks - 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] "Binding" Attacks (/showthread.php?tid=2457)



[solved] "Binding" Attacks - NocturneSama - 03-27-2009

Hello there!

I'm with a little question: how can i make a ball which binds the target hitted by it?

Example: I shot a lightning sphere, and then, when it hits an enemy, a static eletricity binds him, making him shake.


RE: "Binding" Attacks - no one - 03-27-2009

Use itr/kind: 3 to make the char go to the picked_caught frames or any frame have cpoint/kind: 2 and the ball go to some frame with cpoint/kind: 1 and some itr/kind: 0 to make the char shake.


RE: "Binding" Attacks - TheNave - 03-27-2009

I'm prefering an itr like this
    DC-Code:
itr:
     x: XXY y: XYX w: YXX h: XXX dvx: YX dvy: XY vrest: 0 fall: 70 bdefend: 60 injury: Z effect: 5
itr_end:


YXX/XYX/YXX = coordinates
YX/XY = dvx/2; dvy/2
Z = "normal_injury/wait = injury_you_should_use_in_this_itr"

this will shake the enemy as long as your "wait" on that frame is...


RE: "Binding" Attacks - Drahcir - 03-28-2009

^Eh, I'm pretty sure that'll last forever when it's not supposed to.


RE: "Binding" Attacks - no one - 03-28-2009

Not a problem. We can use next and wait to correct it.


RE: "Binding" Attacks - TheNave - 03-28-2009

(03-28-2009, 04:56 AM)Drahcir Wrote:  ^Eh, I'm pretty sure that'll last forever when it's not supposed to.

nah it doesn't last forever... only if you use it in a t0 object... but I'm pretty sure he wants it to be a ball(t3) so this will work correctly


RE: "Binding" Attacks - NocturneSama - 03-28-2009

Wouldn't it be better if i use arest instead of vrest? Because vrest would affect multiple enemies.


RE: "Binding" Attacks - TheNave - 03-28-2009

well, you can do it as you wish... if it should hit only 1 enemy, use arest...