ID:142959
Jan 25 2008, 3:47 pm (Edited on Jan 26 2008, 12:48 am)
|
|
Erased.
|
Jan 25 2008, 4:17 pm
|
|
Assuming you've set that targeted mob to a variable, just have it check using the var.
|
In response to Pyro_dragons
|
|
like when player is targetting this happens:
usr.targeting = 1 usr.tgt = [src] now what should i edit in the above technique and use it accordingly? |
In response to Hardik
|
|
Remove the targeting variable. It's redundant. Change the tgt variable to be mob/var/tmp/mob/tgt, so it doesn't get saved (which will cause many problems). When assigning it, assign it to just src, not "[src]".
|
In response to Garthor
|
|
oh it wont save ..
when user untargets all the values assigned before gets null. also it'll be more easier to understand if you can edit the code i have pasted and show me. |
In response to Hardik
|
|
"You'll be more easier" to just copy my work then, so no, figure it out yourself.
|
In response to Garthor
|
|
sorry i mistyped it
i meant it'll be more easier lol ok can u give me another hint or two? |
In response to Hardik
|
|
Closed.
thnx for your useless advice which didn't helped. >.> i'll solve it myself as byond got useless people who can't guide or help properly. |
In response to Hardik
|
|
Hardik wrote:
Closed. That's good to hear! And you're welcome. |
In response to Garthor
|
|
I have solved it. >.>
though it took me 12 hrs to solve it. but finally it paid off. |