YesNoOk
avatar

Explod Teamside Issues (Read 1140 times)

Started by Afterthought, June 08, 2018, 04:16:32 pm
Share this topic:
Explod Teamside Issues
#1  June 08, 2018, 04:16:32 pm
  • avatar
  • **
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:

Code:
[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

Re: Explod Teamside Issues
#2  June 08, 2018, 07:25:13 pm
  • ****
  • Robotics Engineer
    • USA
    • altoiddealer@gmail.com
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

Re: Explod Teamside Issues
#3  June 09, 2018, 05:00:13 am
  • avatar
  • **
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.
Re: Explod Teamside Issues
#4  June 09, 2018, 05:42:12 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/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.