News:

MFG's Character of the Month: October 2026 Nominations

Main Menu

Win pose Explod

Started by !E, January 25, 2009, 05:58:57 AM

Previous topic - Next topic

!E



For the win pose i want the orbs explod to start at p2 position but it coming from the center of the screen,

the postype is = to p2 but it's not working.

[State 0, Explod]
type = Explod
trigger1 = animelem = 7
anim = 600026
ID = 600026
pos = 0,0
postype = p2  ;p2,front,back,left,right
removetime = 900
vel = 0,-3
sprpriority = 1


could someone tell me what's wrong?

Rajaa Retired

how does it look on the axis? if it's not in the center of the axis, then that's your problem; you'll need to set it at a different position.

!E

the axis is center,  when i set postype = p1, it works on p1,  it's just doesn't seem to work for p2.

MikeDaBike

Yeah thats strange, if p2 is dead the p2 stuff wont work (like p2name that was discussed in the forum before)
You got to calculate the distance to your enemy for yourself then.

So change this part of your explod controller and it should work:
pos = abs(floor(enemynear,pos X-pos X)) ,0
postype = p1
Latest Creation: SSBB Assist Trophies

!E