mob
var
list
mob
targets = new/list()
target = 1
Click()
if(istype(src,/mob))
if(src.target)
if(src in usr.targets)
usr.targets -= src
else
usr.targets += src
Thanks if you can help ^_^
ID:164659
![]() May 7 2007, 5:45 am
|
|
Right, So as the title Says Targeting I have a simple system for when you click someone it adds them to your target list.. But, If more than one person is clicked it stacks I need it to take off the mob when another Mob is clicked and if possible add an overlay that can only be seen to the user (I've never been good with Images)
mob Thanks if you can help ^_^ |
This gives every mob a list of players that have it targetted.
NewT and oldT are used to make a note of what was last targeted, so u can remove your self from the list of players that has it targeted. It may not be exaclty what you want but it should give you a good indication of what to do.
(Supaz)