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.
|
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? |
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]".
|
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. |
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. |
Hardik wrote:
Closed. That's good to hear! And you're welcome. |