ID:164223
 
Code:i dunno about it it and i dont know how


Problem description:im try ing to code a justu in parts

What do you want?
That's extremely vague -- seeing as some people may not even know what the hell a "jutsu" is, and apparently neither do you.

Quote from Trane5, "i dunno about it." You don't know about jutsu's in parts? what the hell are you talking about?
In response to ShadowUser
he's trying to create a verb or technique for a naruto game.

mob
verb
taijutsu(mob/M in get_step(usr,usr.dir)) // uses the taijutsu in the player's direction.


i got that first part for you. im pretty sure you can do the rest. Zilal's tutorial helps out in RPG games. His tutorial will explain how to make create basic commands and stuff. :) good luck on your naruto game
In response to Rassafrass
usr abuse!
In response to LucifersHellion
oops. I better fix that or Garthor might yell at me @.@

taijutsu(mob/M in get_step(src,src.dir))  // there we go :P
In response to Rassafrass
That is, in fact, a verb. usr is valid in verbs, because they are always called by a player. If you've got a verb you're calling like a proc, you should set usr beforehand - it's sort of how the contract works with defining something as a verb.

That said, using src where it is valid should probably be done, because it's infinitely safer. You always know what src is - usr might be something different if something extremely weird is going on.

(And for the hell of it: get rid of the src in front of 'dir'. src is assumed as the source of vars/procs unless otherwise stated. 'dir' === 'src.dir')
In response to Rassafrass
Rassafrass: Keep in mind that Zilal is a female.

Trane5: Code Problems suggests, by its name, that if you have problems with your code, to post your topic there. How can you have a problem with a code that doesn't exist?
For future reference, how-do-I posts go in Developer How-To. Code Problems is for debugging existing code only.

Lummox JR