Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problems with self-grabbing
#1
I'm trying to figure out how to do the self-grab, but it keeps cancelling out. I can't seem to find the problem.
This is an attempt at the method brought up on YinYin's "Counter Skill" thread


Code for spawning the object and the action intended:
    DC-Code:
<frame> 124 defend
   pic: 56  state: 7  wait: 0  next: 999  dvx: 0  dvy: 0  dvz: 0  centerx: 37  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 235 hit_Fj: 247 hit_Uj: 275
   wpoint:
      kind: 1  x: 46  y: 51  weaponact: 21  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   bdy:
      kind: 0  x: 20  y: 19  w: 38  h: 60
   bdy_end:
   opoint:
      kind: 1  x: 11  y: 4  action: 390  dvx: 0  dvy: 0  oid: 204  facing: 1
   opoint_end:
<frame_end>
 
<frame> 125 defend
   pic: 56  state: 7  wait: 2  next: 110  dvx: 0  dvy: 0  dvz: 0  centerx: 37  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 235 hit_Fj: 247 hit_Uj: 275
   wpoint:
      kind: 1  x: 46  y: 51  weaponact: 21  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   bdy:
      kind: 0  x: 20  y: 19  w: 38  h: 60
   bdy_end:
   cpoint:
      kind: 2 x: 10  y: 79
      fronthurtact: 299 backhurtact: -299
   cpoint_end:
<frame_end>


The object's code:
    DC-Code:
<frame> 390 dummy
   pic: 0  state: 18  wait: 29  next: 1000  dvx: 0  dvy: 0  dvz: 0  centerx: 20  centery: 0  hit_a: 0  hit_d: 0  hit_j: 0
   bdy:
      kind: 0  x: 21  y: 18  w: 43  h: 62
   bdy_end:
   itr:
      kind: 3  x: 20  y: 25  w: 1  h: 1  vrest: 7 
      catchingact: 125 125  caughtact: 125 125  
   itr_end:
   cpoint:
      kind: 1  x: 0  y: 79
      vaction: 125
   cpoint_end:
<frame_end>

To live a life of power, you must have faith that what you believe is right, even if others tell you you're wrong.
The first thing you must do to live a life of power is to find courage. You must reach beyond the boundaries of time itself.
And to do that, all you need is the will to take that first step...
Ask not what others can do for you, but what you can do for others.
Reply
Thanks given by:


Messages In This Thread
Problems with self-grabbing - by Dragon5 - 01-28-2014, 08:04 PM
RE: Problems with self-grabbing - by YinYin - 01-28-2014, 08:33 PM
RE: Problems with self-grabbing - by Dragon5 - 01-28-2014, 08:51 PM
RE: Problems with self-grabbing - by YinYin - 01-28-2014, 09:07 PM



Users browsing this thread: 1 Guest(s)