View Single Post
  #4  
Old 11-22-2004, 02:50 PM
ZeroTrack ZeroTrack is offline
G2K1 Developer
ZeroTrack's Avatar
Join Date: Apr 2004
Location: LongIsland, NY
Posts: 402
ZeroTrack is on a distinguished road
Send a message via AIM to ZeroTrack
Quote:
Originally Posted by Salaisuus
Like this?

if (actionserverenter) {
setlevel2 ihategscripts.nw,30,30;}
//#CLIENTSIDE
if (actionleftmouse && int(playerx)=<30) {
playerdir=0; unfreezeplayer; setani idle,; triggeraction playerx,playery,serverenter,;
}
PHP Code:
if (actionenter) {
  
setlevel2 ihategscripts.nw,30,30;
}
//#CLIENTSIDE
if (actionleftmouse && int(playerx)=<30) {
 
playerdir=0unfreezeplayersetani idle,; triggeraction x+1,y+1,enter,;

the action is supposed to happen to the npc, the way you had it is the only way it could work is if the playerx and playery were the same as the npc's x and y. this way it triggers it inside the npc no matter where the player is
understand now?

--- Edit ---
Oh wow , well ok theres another problem that i encountered while testing it... this is an odd one, but you can't have server as the begining word .... just put enter and actionenter
__________________


Last edited by ZeroTrack; 11-22-2004 at 03:11 PM..
Reply With Quote