ID:169839
Apr 24 2005, 6:57 am
|
|
When I'm doing Bunshin No jutsu, how do I make it so a copy of the persons icon shows up as you see in naruto.
|
In response to Itachi1
|
|
Itachi1 wrote:
mob/verb Thanks, man you rule. Also do you have a formula for chakra control, I can't seem to think of one. for example 4/5 jutsu not converted, 5/5 jutsu converted, and 6/5 Jutsu converted |
In response to Broly103
|
|
Ya. im sure i can make 1 give me a couple mins. Also i made a mistake in my code i think o.O it would be easyier to define a proc then call it using a verb like so.
mob/proc |
In response to Itachi1
|
|
Why would it make any difference? Procs and verbs are almost (but not quite) the same. By creating a verb and a proc, you're making extra 'traffic'. I don't think such a negligible thing would lag the game, but it might be important to keep file size to a minimum.
And yes, you did make a mistake. Why have you defined mob/m for the CreateClones proc, then not used it? |
In response to Itachi1
|
|
This is completly off the top of my head but it should work. all this does is if your Chakra Control (CControl) is more than 100 then it generates a random number 1-10 and takes that away from your Chakra and creates a clone depending on whether you converted 5 or more chakra.
And if CControl is 100 then it just takes 5 away from your Chakra and creates the clone. mob/proc |
In response to Hazman
|
|
I made it a proc cause there is more than 1 kind of replication tech in naruto and i would be smaller to make 1 proc that made a replication then 10 verbs that made there own replication. as for defining the proc for mob/M... i dont know what that was about. just habbit i guess.
|
In response to Itachi1
|
|
Itachi1 wrote:
I made it a proc cause there is more than 1 kind of replication tech in naruto and i would be smaller to make 1 proc that made a replication then 10 verbs that made there own replication. as for defining the proc for mob/M... i dont know what that was about. just habbit i guess. Okay, I used your code for my bunshin.I will do the rest for Kage,Tajuu kage etc. mob/verb I added if Chakra = 0 or less the jutsu will not work, but it still does the jutsu any help? |
In response to Broly103
|
|
mob/verb Ya you have to tell it to cancell the rest of the proc if there isnt enough Chakra. so you put in a return command under that if statment |
In response to Itachi1
|
|
Itachi1 wrote:
> mob/verb Ya you have to tell it to cancell the rest of the proc if there isnt enough Chakra. so you put in a return command under that if statment here mob/proc |
In response to Broly103
|
|
ok your proc needs to be this cause atm your defining an if statement but not giving it anything to go by... i mean Your saying
if(bunshinclone >= 10) But nowhere in your code are you telling your code to add 1 to bunshinclone when Bunshin No Jutsu is used. so instead make your proc like this and that code should work fine. mob/proc That is the only thing i see off the top of my head. |
In response to Itachi1
|
|
Itachi1 wrote:
ok your proc needs to be this cause atm your defining an if statement but not giving it anything to go by... i mean Your saying > if(bunshinclone >= 10) But nowhere in your code are you telling your code to add 1 to bunshinclone when Bunshin No Jutsu is used. so instead make your proc like this and that code should work fine. > mob/proc That is the only thing i see off the top of my head. mob/verb I think i made my stats divide in half. |
In response to Broly103
|
|
I'm going to pre-empt Lummox here:
"No put usr in proc. Ungh" Your code is riddled with errors. I suggest wiping it, and then start again by writing your own code, that you thought of because you read the DM Guide and several tutorials. It makes it much better, and much less buggy. |
In response to Jp
|
|
How would you make the clones:
Sorround the user? Attack? Stay Still?(I edited the Move() proc to make them move) I hope someone can help me. |
In response to BakaSan
|
|
BakaSan wrote:
How would you make the clones: Use the walk_to proc or walktowards forgot which one,dunno about stay still or attack. |
In response to Broly103
|
|
Thanks. I'll try it.
Edit: This worked quite well. Now i have to figure out how to make them do stuff. |
Createclones(mob/M)
var/mob/clone=new(usr.loc)
clone.icon=usr.icon