that will make p1 and p2 both dead ONLY when your attack HITS the enemy (its unguardable but if the enemy dodged it like teleporting or jumping up, it does not count as hit obviously)
[State 0, 1] type = HitDef trigger1 = animelem = 36 attr = S, NA ;Attribute: Standing, Normal Attack damage = P2Life ;Damage that move inflicts, guard damage animtype = Light ;Animation type: Light, Medium, Heavy, Back (def: Light) guardflag = none ;MA ;Flags on how move is to be guarded against hitflag = MAF ;Flags of conditions that move can hit priority = 3, Hit ;Attack priority: 0 (least) to 7 (most), 4 default ;Hit/Miss/Dodge type (Def: Hit) pausetime = 0, 10 ;Time attacker pauses, time opponent shakes sparkno = 5 ;Spark anim no (Def: set above) sparkxy = -10, 76 ;X-offset for the "hit spark" rel. to p2, ;Y-offset for the spark rel. to p1 hitsound = 5, 0 ;Sound to play on hit guardsound = 6, 0 ;Sound to play on guard ground.type = High ;Type: High, Low, Trip (def: Normal) ground.slidetime = 5 ;Time that the opponent slides back ground.hittime = 12 ;Time opponent is in hit state ground.velocity = 0 ;Velocity at which opponent is pushed airguard.velocity = -1.9,-.8 ;Guard velocity in air (def: (air.xvel*1.5, air.yvel/2)) air.type = High ;Type: High, Low, Trip (def: same as ground.type) air.velocity = 0,0 ;X-velocity at which opponent is pushed, ;Y-velocity at which opponent is pushed air.hittime = 12 ;Time before opponent regains control in air
[State 0, LifeAdd] type = LifeAdd trigger1 = animelem = 37 value = -life kill = 1 absolute = 1
notice the codes in yellow
Message edited by sgn_15 - Saturday, 2011-09-17, 5:17 PM
try looking at rare akuma's suicide ability code, maybe it can help you when u add sgn's code too? if u need to see any animation you want to see the pm button is down-left
do you even have a red clsn box in your attack anim? and obviously they wont work if you dont have 36th and 37th animelem in your anim. adjust the codes according to your char
those codes work in my char
Added (2011-09-17, 7:23 PM) --------------------------------------------- well that is the practical way of coding it. i am too lazy to think of other ways that are sure to work without trying them myself maybe ask lightmatt
plz don't call me my full, name just say anis, any or evil ryuXD, and Giji ultima gouki oddity has that ability, called "suicide" and btw, if u make a mistake/wana say something else, u don't need to add a new post, just click this buttonat bottom right, and u'll edit your post if u need to see any animation you want to see the pm button is down-left