DuckAzz Posted May 24, 2014 Posted May 24, 2014 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: follow the red line... so how I can set the x position in this case?
0 Ryon Posted May 25, 2014 Posted May 25, 2014 im not sure i follow. posset is relative to the stage's center. posadd is relative to the players current position. which are you trying to do? - Characters - / - Stages - / - Screenpacks - / - Lifebars - / - Fonts - / - Full Games - / - Templates -
0 It'sOver9000!! Posted May 25, 2014 Posted May 25, 2014 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 --------------------Don't even think of beating ME kakarot-----------------------
0 DuckAzz Posted May 25, 2014 Author Posted May 25, 2014 I know that but I need starting position in air where is the p2...not veladd...but well it will work good but but mario will stomp someone with big difference :P
0 Ryon Posted May 25, 2014 Posted May 25, 2014 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 - Characters - / - Stages - / - Screenpacks - / - Lifebars - / - Fonts - / - Full Games - / - Templates -
0 DuckAzz Posted May 25, 2014 Author Posted May 25, 2014 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...
Question
DuckAzz
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:
follow the red line...
so how I can set the x position in this case?
5 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now