(07-20-2014, 01:53 PM)Onyx Wrote: if you press attack he is doin sword hit with opoint of slash effect, which doesnt work.You cannot summon an opoint on the first frame of a move(or any button input). You must always leave 1 frame before opoint works. The problem is on frame 317, pressing A will go to frame 319 directly, but because 319 is the 1st frame of the attack, the opoint will not work.
You should change your code by adding an extra frame, so it'd look like this:
DC-Code:
<frame> 319 precise_strike2 sound: data\114.wav pic: 107 state: 3 wait: 0 next: 320 dvx: 0 dvy: 0 dvz: 0 centerx: 26 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 bdy: kind: 0 x: 4 y: 16 w: 39 h: 61 bdy_end: <frame_end> <frame> 320 precise_strike2 pic: 107 state: 3 wait: 9 next: 317 dvx: 0 dvy: 0 dvz: 0 centerx: 26 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 opoint: kind: 1 x: 48 y: 134 action: 30 dvx: 0 dvy: 0 oid: 231 facing: 0 opoint_end: bdy: kind: 0 x: 4 y: 16 w: 39 h: 61 bdy_end: <frame_end> |
Don't worry, you won't notice the wait 0 delay because it happens so fast.
~Spy_The_Man1993~
Steiner v3.00 (outdated), Challenge Stage v1.51
Luigi's Easier Data-Editor, A-Man's Sprite Mirrorer
Working on the LF2 Rebalance mod.
Avatar styled by: prince_freeza