Quote:
Originally posted by osrs
I think there is no need to trigger the npc every time when the position is changed,i tested the script online and worked fine.
PS:It's not the whole code,Kai
|
Ok, thank you that worked
[edit]
NPC Code:
if(this.dir=0&&y>0) move 0,-1,0.5,0;
if(this.dir=2&&x>0) move 0,+1,0.5,0;
if(this.dir=1&&x<64) move -1,0,0.5,0;
if(this.dir=3&&y<64) move +1,0,0.5,0;
I tested it with move... and its not working... why?
[/edit]
Also, I have another problem with triggeraction...
Its a weapon, triggering something clientside. I have a NPC on a level checking for it serverside if (action...), but it won't work! Strangly, it works clientside, but not serverside!
(Weapon Clientside to NPC Serverside)
Please respond if you know the problem.