Samuel 83 Posted September 19, 2015 Well, hello everyone! It's been a while Been busy in real life and now I'm back and learning all the changes that has been made and now I'm focusing on scripting and making plugins again. So I have encountered a problem now with regards to plugin. I have added battleconf settings into the plugin which is loaded perfectly. The problem is, the value can't be detected by the script command getbattleflag Although setbattleflag command can affect the custom battle_conf setting I have made with the plugin. Thanks! Quote Share this post Link to post Share on other sites
0 Dastgir 1246 Posted September 20, 2015 The current workaround can be hook battle_get_value function and return value and use hookStop() Quote Share this post Link to post Share on other sites
0 Samuel 83 Posted September 20, 2015 The current workaround can be hook battle_get_value function and return value and use hookStop() Can you give an example on how to do it? Thanks Quote Share this post Link to post Share on other sites
Well, hello everyone! It's been a while
Been busy in real life and now I'm back and learning all the changes that has been made and now I'm focusing on scripting and making plugins again.
So I have encountered a problem now with regards to plugin.
I have added battleconf settings into the plugin which is loaded perfectly.
The problem is, the value can't be detected by the script command getbattleflag
Although setbattleflag command can affect the custom battle_conf setting I have made with the plugin.
Thanks!
Share this post
Link to post
Share on other sites