![]() |
Need help on this NPC!
Hey guys, i need some help...
i want this npc to play the ganis... but there is no way to trigger it self (what i think). So... can anyone help me make this move for EVERYBODY when someone clicks on it? NPC Code: |
if
if it's a showcharacter NPC, then you want to use
triggeraction x+1.5,y+2,serverside,; because you can only triggeractions on a visible part of the NPC, and the NPC is normally set up like this: NPC Code: meaning x,y would be transparent/null |
Re: Need help on this NPC!
I noticed another scripting problem other then the one mikepg pointed out.
NPC Code: |
lol, you dont use ignorecase with the keys
you use i |
Quote:
if (actionserverside) { setcharani #p(1),; } //#CLIENTSIDE if (created) { this.dontmove=false; } if (actionleftmouse&&keydown2(keycode(b),i)&&keydown2 (keycode(r),i)&&this.dontmove==false){ this.dontmove=true; triggeraction x,y,serverside,shelf1; sleep 4; triggeraction x,y,serverside,shelf2; this.dontmove=false; } |
Re: Re: Need help on this NPC!
Quote:
|
Re: Re: Re: Need help on this NPC!
Quote:
|
I wrote it in my script and forgot to take it out i was using the gralat gani
|
| All times are GMT +2. The time now is 06:03 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.