Explod Teamside Issues

Started by Afterthought, June 08, 2018, 04:16:32 PM

Previous topic - Next topic

Afterthought

This one's pretty straightforward. I have two codes to summon two entirely different explods, one on p1's side and one on p2's side, depending on where the character(s) are obviously. p1 side works every time it's called; p2 side doesn't work at all, however, as p1 side is called no matter which side the character is on.

Code I'm working with:

[State 0]
type = Explod
triggerall = teamside = 1
trigger1 = stateno = 200
anim = 8511
scale = 0.25,0.25
id = 246
pos =5,45
postype = left
bindtime = -1
facing = 1
ontop = 1
ownpal = 1
ignorehitpause = 1
persistent = 1

[State 0]
type = Explod
triggerall = teamside = 2 ; P1 Side
trigger1 = stateno = 200
anim = 8512
scale = 0.25,0.25
id = 246
pos =5,45
postype = right
bindtime = -1
facing = -1
ontop = 1
ownpal = 1
ignorehitpause = 1
persistent = 1



altoiddealer

Quote
left
Interprets off_x and off_y relative to the upper-left corner of the screen. A positive off_x is toward the right of the screen.
right
Interprets off_x and off_y relative to the upper-right corner of the screen. A positive off_x is toward the right of the screen.

for both "left" and "right", a positive value for X moves it to the right.

So just make the 2nd one -5,45 and you should be good to go


Afterthought

I have no doubt this would work if the p1 side explod wasn't the only one loading. I can't get p2 to show up in any way. I have tried using the opposite x pos, to no avail.

Cyanide

Double check your animation. Leaving time on a frame at 0 makes it invisible in game. Could be that if it doesn't show even when you simplify triggers


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.