View Single Post
  #6  
Old 07-29-2003, 11:09 PM
VeX_RaT_Boy VeX_RaT_Boy is offline
WannaBe Scripter
VeX_RaT_Boy's Avatar
Join Date: Aug 2002
Location: Norway
Posts: 960
VeX_RaT_Boy is on a distinguished road
Send a message via ICQ to VeX_RaT_Boy Send a message via AIM to VeX_RaT_Boy Send a message via Yahoo to VeX_RaT_Boy
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.
__________________
-Kjetil Valen

Last edited by VeX_RaT_Boy; 07-29-2003 at 11:53 PM..
Reply With Quote