Timokha 0 Posted July 16, 2021 Hello, Could you please advise, how to disable @go command, when it used in NPC dialogue? If I put @go 0 as example to quick slot ALT+1, it shall TP char to prontera even if it's in a dialogue. I'd like to avoid that, cause many of my scripts were written without protections from such actions. I've found out, that @refresh has this restriction. In NPC dialogues @refresh just failed without any effect. Thanks in advance. Quote Share this post Link to post Share on other sites
0 Timokha 0 Posted July 16, 2021 Solved it. if (sd->npc_id > 0) return false; Quote Share this post Link to post Share on other sites
Hello,
Could you please advise, how to disable @go command, when it used in NPC dialogue?
If I put @go 0 as example to quick slot ALT+1, it shall TP char to prontera even if it's in a dialogue.
I'd like to avoid that, cause many of my scripts were written without protections from such actions.
I've found out, that @refresh has this restriction.
In NPC dialogues @refresh just failed without any effect.
Thanks in advance.
Share this post
Link to post
Share on other sites