Quote:
Originally posted by royce
if (playerchats) triggeraction playerx+1.5,playery+2,weapon,name,#c,#a;
|
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?