YesNoOk
avatar

How To Code An "Ougi"? (Read 460 times)

Started by N_Shikamaru, February 10, 2008, 06:32:14 pm
Share this topic:
How To Code An "Ougi"?
#1  February 10, 2008, 06:32:14 pm
  • avatar
  • *
Hello guys....
well i want to code something like an ougi(naruto) but dont know how ???
i thuoght about this but didnt come to an solution >_>
so if someone can give some code examples and explain step by step how to do one than that would be really great:)
anyways thx to all who help
Re: How To Code An "Ougi"?
#2  February 10, 2008, 06:36:20 pm
  • ******
  • does this look like the face of mercy?
You better explain first what you want and what a ougi is. Many of us wouldnt touch Naruto with a foot long stick.
Re: How To Code An "Ougi"?
#3  February 10, 2008, 06:38:16 pm
  • avatar
  • *
You better explain first what you want and what a ougi is. Many of us wouldnt touch Naruto with a foot long stick.

well ok srry then,
now i want if you press a then he goes to a certain state = he beginning to lightning but nothing happens
then if you press a again he goes a few meters and if he hits the opponent it will do the move , and no hit then back to normal
didnt know how to explain it better  :-\
Re: How To Code An "Ougi"?
#4  February 10, 2008, 07:32:41 pm
  • **
Did you start it yet? It's a bit too general, would be simpler and more efficient if you asked a more specific question when something didn't work or w/e.

But basically: Create a state for when for the move (code the CMD and CNS) and put lightning or whatever in it and add a changestate if command = "a" to the state of his attack. In that state make him run and use a hitdef for the move to hit.
Also use a changestate that will change him back to state 0 after the move is done/didn't connect at all.