Jump to content
  • 0

POSset help


DuckAzz

Question

hello again,this time I'm having the problem with starting positions in one hyper attack on one boss team character...

 

so I wrote this:

 

[state 1000]

type = posset

trigger1 = !time

y = -screenpos y

x =  <====== now here's the problem,I want set this x pos like this:

us3s0r5.png

 

follow the red line...

 

so how I can set the x position in this case?

 

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

You did it all wrong. Let me explain it to you. You do not use posset, you use veladd, that is, if you want your character to jump on the opponent. But you have to be a bit specific like, do you want your character to jump on beginning of the hyper move or some other time? If it's like that then use this code:

 

[state 1000]

type = VelAdd

trigger1 = time = ??? (the time you want your character to jump / move upwards)

x = (we'll give 2 over here)

y = (let's say we give here -30 or something)

 

Then you copy the veladd and do this:

 

[state 1000]

type = VelAdd

trigger1 = time = ??? (the time you want your character to land)

x = (p2bodydist x)

y = (p2bodydist y)

 

Check this code out. I don't if it might work or not. It's just and untested crazy idea I had. Or

you could just forget all this and do this with the animation

Link to comment
Share on other sites

  • 0

so wait, you want someone to get stomped on, for the INTRO?

 

you want p2's position x?

 

have you tried

 

X = enemy,pos x

 

here is a code i have from my Goku where he teleports above P2 regardless of position.

 

[state 0, PosSet]

type = PosSet

trigger1 = time = 10

x = enemy, pos x

y = enemy, pos y-50

Link to comment
Share on other sites

  • 0

no for intro actualy,it's just hyper attack...

let me explain you

-when the all attacks success,mario dissapears,and he's falling from the sky and stomp p2...

 

but I used another code to make that...

thanks by the way...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...