Explod question

Started by ShotokanEditor, May 01, 2011, 01:40:24 PM

Previous topic - Next topic

ShotokanEditor

Hi all, im trying to find if there is a way to make an explod appear on p2 but when he is on air
that explod nicely appears on p2 position.That explode is like an energy explosion coming from the ground
and it doesnt look appropriate when the exposion starts in midair for example ,Is there a way?
any help is welcome, thanks in advance :)

[State 2000,4]      ;energy on first contact
type           = Explod
Trigger1       = MoveHit
persistent     = 0
anim           = 3010
pos            = 10,0
postype        = p2
sprpriority    = 2
supermove      = 1
bindtime       = 1
ignorehitpause = 1
ownpal         = 1
trans          = add

Cyanide

Use postype = P1 still but set the pos up as

pos = floor(enemynear(0), pos X), 0

that will place the explod where p2 is and at Y = same level as you.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

ShotokanEditor

#2
and with some little testing...it works!
thanks for the help man:)
./respect



EDIT: btw i cant find the >>SOLVED<< button :/
if anyone can point me to it plz?