YesNoOk
avatar

Win pose Explod (Read 1191 times)

Started by !E, January 25, 2009, 05:58:57 am
Share this topic:

!E

Win pose Explod
#1  January 25, 2009, 05:58:57 am
  • **
  • Where’s the impostor?
    • Canada
    • before3d.com


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?
Last Edit: January 25, 2009, 06:04:32 am by Etg
Re: Win pose Explod
#2  January 25, 2009, 06:32:29 am
  • ******
  • I hang out tough. I'm a real boss.
    • USA
    • litotichues.com/

  • Online
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

Re: Win pose Explod
#3  January 25, 2009, 06:35:19 am
  • **
  • Where’s the impostor?
    • Canada
    • before3d.com
the axis is center,  when i set postype = p1, it works on p1,  it's just doesn't seem to work for p2.
Re: Win pose Explod
#4  January 25, 2009, 07:39:24 pm
  • **
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:
[mcode]pos = abs(floor(enemynear,pos X-pos X)) ,0
postype = p1 [/mcode]
Latest Creation: SSBB Assist Trophies

!E

Re: Win pose Explod
#5  January 25, 2009, 07:43:32 pm
  • **
  • Where’s the impostor?
    • Canada
    • before3d.com
Thanks Mike, it works  :sugoi: