aneeryrlue 13 Posted June 15, 2016 I have some problems maybe you can resolve it. its a noob thing i think, i use this open store script: void main() { object oStore = GetObjectByTag("TAG_OF_STORE_HERE"); object oSpeaker = GetPCSpeaker(); if (!GetIsObjectValid(oStore)) oStore = CreateObject(OBJECT_TYPE_STORE, "RESREF_OF_STORE_HERE", GetLocation(OBJECT_SELF)); if (GetIsObjectValid(oStore)) DelayCommand(0.5, OpenStore(oStore, oSpeaker)); } Problem: If i open this store it works, but if i close it, it opens store again automatically unlimited times.. Can you help me a bit ?Note: I tried to fire the script both on PC and NPC lines. Quote Share this post Link to post Share on other sites
aneeryrlue 13 Posted June 15, 2016 I'm wondering, maybe a line at script's end what does to return to dialogue when shop closes could fix it. Am I right? Quote Share this post Link to post Share on other sites
Domino5555 119 Posted June 15, 2016 I think I can write dialogue. Scripts, not so much. Quote Share this post Link to post Share on other sites
aneeryrlue 13 Posted June 15, 2016 I think I can write dialogue. Scripts, not so much. I have no any problems with dialogues. Update Posted 15 June 2016 - 10:51 AM Solved, But, I got another glitch or something with this script lines, when I close my store I can't click on objects, can't use anything even can't press escape to access menu. Why? Is there anything that I can do to resolve this? Quote Share this post Link to post Share on other sites
Fair Strides 509 Posted June 15, 2016 Replying to Aneerylue in the PM he sent me, so hopefully he'll stop spamming the forums. Quote Share this post Link to post Share on other sites