02-20-2010, 07:55 AM
<frame> 112 explosion
pic: 36 state: 18 wait: 1 next: 113 dvx: 0 dvy: 0 centerx: 78 centery: 148 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 19 y: 18 w: 127 h: 131 dvx: -12 dvy: -18 fall: 70 vrest: 300 bdefend: 16 injury: 125 zwidth: 37
effect: 11
itr_end:
<frame_end>
See that bold part over there? That's the state. Each state have a different function. The one in this example can make all itr attack both friendly and hostile chars (for more on the subject, check out mainsite).
pic: 36 state: 18 wait: 1 next: 113 dvx: 0 dvy: 0 centerx: 78 centery: 148 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 19 y: 18 w: 127 h: 131 dvx: -12 dvy: -18 fall: 70 vrest: 300 bdefend: 16 injury: 125 zwidth: 37
effect: 11
itr_end:
<frame_end>
See that bold part over there? That's the state. Each state have a different function. The one in this example can make all itr attack both friendly and hostile chars (for more on the subject, check out mainsite).