View Single Post
  #6  
Old 06-19-2002, 09:40 PM
mikepg mikepg is offline
Registered User
Join Date: Nov 2001
Location: VA, USA
Posts: 501
mikepg is on a distinguished road
Send a message via AIM to mikepg Send a message via Yahoo to mikepg
Re: Re: Need help on this NPC!

Quote:
Originally posted by user13-xo
I noticed another scripting problem other then the one mikepg pointed out.
NPC Code:

if (actionserverside) {
setcharani #p(0),#p(1);
}
//#CLIENTSIDE
if (created) {
this.dontmove=false;
}
if (actionleftmouse&&keydown2(keycode(b),ignorecase)& &keydown2(keycode(r),ignorecase)&&this.dontmove==f alse){
this.dontmove=true;
triggeraction x+1.5,y+2,serverside,shelf1;
sleep 4;
triggeraction x+1.5,y+2,serverside,shelf2;
this.dontmove=false;
}

Uhh....there isnt even a second param in that action...why would he put #p(1) in there?
__________________
~War Lord Mpg2
Bravo Online's Asst. Staff Manager

"Sittin by the tree, sippin eggnog, waitin on christmas gifts"