Jump to content
  • 0
klitidej

How to write script Npc Walking in an Instance?

Question

Posted (edited)
I use this script, npc show up but it's not walking.
Thank you for your answer.

[email protected],151,112,4    script    WalkingNPC::walking    84,{
;
 
OnInit:
startnpctimer;
npcspeed 200;
end;
 
OnTimer1000:
npcwalkto 140, 116;
end;
 
OnTimer5000:
stopnpctimer;
initnpctimer;
end;
}

 

Edited by Mael

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Use `OnInstanceInit` instead of `OnInit`

  • Upvote 1
  • Like 1

Share this post


Link to post
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...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.