View Single Post
  #7  
Old 04-09-2002, 08:25 AM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
Quote:
Originally posted by Gohan43331


so it's x,y,weapon,action,params...

I thought it was action before weapon

*Goes back to fix his system npcw*

[edit]

Funny thing is, that's not working either....

*ponders if he's doing this right...*

NPC Code:

if (weaponfired) triggeraction playerx+this.xdirgo[playerdir],playery+this.ydirgo[playerdir],-system,steal,#s(client.skill),#s(client.dex);


and in player system:
NPC Code:

if (actionsteal) {
if (isweapon) {
playerrupees-=strtofloat(#p(1))/2;
}
}



Can you see anything wrong?
it looks like that isweapon test is failing...? maybe? also why are you using +this.dirgo? I think you want playerx+1.5,playery+2...
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote