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.
Question
joecalis
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 joecalisLink to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.