ok
its like this
NPC Code:
chat=thiso.newtarget;
if(thiso.newtarget!=-1)this.target=thiso.newtarget;
chat=this.target;
now when i make it
NPC Code:
chat=thiso.newtarget;
if(thiso.newtarget!=-1)this.target=thiso.newtarget;
//chat=this.target;
it says a acc, like projectigi
when i make it
NPC Code:
chat=thiso.newtarget;
if(thiso.newtarget!=-1)this.target=thiso.newtarget;
chat=this.target;
it says -1(this.target is set to -1 before this)