Air Attack

Started by ultimatedude, September 08, 2007, 07:33:41 PM

Previous topic - Next topic

ultimatedude

Well yeah, im creating a char that was this air attack that makes itself move downwards, but then i want instead of a land anim it will go to a different state?

so kinda like this

;Air Attack

[Statedef 600]
type    = A
movetype= A
physics = A
juggle  = 2
poweradd= 11
ctrl = 0
anim = 600
sprpriority = 2

[State 0, VelSet]
type = VelSet
trigger1 = Animelem = 2
y = 10

;Then somehow make land change to this state

[Statedef 601]
type    = S
movetype= A
physics = S
ctrl = 1
anim = 601
sprpriority = 2

[State 601, 4]
type = ChangeState
trigger1 = AnimTime = 0
value = 1
ctrl = 1



;Note this is the code without the Hitdef XD

No Borders, No Nations

ZzEzZ

well, if u want your character to change from the land state 2 state 601, in your common1, add a changestate to the landing state (i 4get which it is) that has a trigger of "prevstateno = 600"
ehh... if that iz wat u wanna do...

Cyanide

Change physics to N in the first state, use the gravity sctrl and create a changestate when pos Y>= 0

In the second state make sure you posset Y to 0 and velset is 0,0 in the initial type sets.


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.

ultimatedude

Thanks, it works now XD

No Borders, No Nations