Jump to content
  • 0

Walking NPC in instance


Wise

Question


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.01
  • Content Count:  147
  • Reputation:   26
  • Joined:  11/19/11
  • Last Seen:  

So I tried to make a walking npc in an instance and it doesnt walk =\

1@test,151,112,4    script    Walking NPC::walkingnpc1    84,{
mes "[Walker]";
mes "It's fun walking around in circles.";
close;
 
OnInit:
startnpctimer;
npcspeed 200;
end;
 
OnTimer1000:
npcwalkto 140, 116;
end;
 
OnTimer6000:
npcwalkto 133,111;
end;
 
OnTimer11000:
npcwalkto 137,101;
end;
 
OnTimer16000:
npcwalkto 147,101;
end;
 
OnTimer21000:
npcwalkto 151, 112;
end;
 
OnTimer26000:
stopnpctimer;
initnpctimer;
end;
}

if I go to the map without party which is just (1@test), it walks in circles.

and when I go to my instance with party which will look like (0011@test), it stays there. =\

Edited by Mavis
Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.01
  • Content Count:  147
  • Reputation:   26
  • Joined:  11/19/11
  • Last Seen:  

Nevermind. Solved.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...