Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
An attack that does not appear without an enemy, but appears with one.
#11
@yin yin, Doesn't work. maybe you could help me do the whole data?
Working on 2 BIG mods,literally the biggest of any mod you can find...
[Image: WB9LH.png]

DOWNLOAD LITTLE FIGHTER DIVINE

[Image: ze4qi.png] [Image: YAWc1.png]
Reply
Thanks given by:
#12
here's the explanation (at least how i understood it):

frame to change the facing direction of the object
    DC-Code:
<frame> 0 cbeam
   pic: 999  state: 3005 wait: 0 next: 1  hit_Fa: 3
<frame_end>


frame to tell it: "if there are no opponents (hit_Fa: 1), go to frame 399" (you need the hit_a: 1 for hit_d: to activate).
    DC-Code:
<frame> 1 cbeam
   pic: 999  state: 3005 wait: 1 next: 2  hit_Fa: 1 hit_a: 1 hit_d: 399 
<frame_end>


state: 400 to teleport to opponent (remember we are already facing the "correct" direction)
    DC-Code:
<frame> 2 cbeam
   pic: 999  state: 400
   ... #go_on_to_attack_frames


delete the object in the case that it detected no opponents
    DC-Code:
<frame> 399 cbeam
   pic: 999  state: 3005 wait: 0 next: 1000
<frame_end>


haven't tested it myself, but that's how i think it works



Azriel~
Reply
Thanks given by:
#13
thanks :) will try that out later.
Working on 2 BIG mods,literally the biggest of any mod you can find...
[Image: WB9LH.png]

DOWNLOAD LITTLE FIGHTER DIVINE

[Image: ze4qi.png] [Image: YAWc1.png]
Reply
Thanks given by:




Users browsing this thread: 2 Guest(s)