Jump to content
  • 0

Dynamic Shop Prevent Movement


joecalis

Question


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  64
  • Reputation:   40
  • Joined:  03/26/12
  • Last Seen:  

So I just noticed a problem with calling a dynamic shop, it seems that if you call a shop through a script, your character will be able to move freely and get away from the NPC that called it, but if you buy items while far from the NPC, it causes errors and frozen characters.

So is there anyway of preventing this from happening?

I have tried blocking the characters movement using "pcblockmove" but the problem with that is if you close the shop without purchasing your character will stay stuck.

I also tried blocking the movement with a "mes" script command but once you close the "mes" window you'll be able to move freely again.

Please tell me if there is another way to prevent this, or do I have to go to the src files to implement this. Thank you.

Edited by joecalis
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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...