Jump to content
  • 0
Samuel

Plugins AddBattleconf

Question

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

2 answers to this question

Recommended Posts

  • 0

The current workaround can be hook battle_get_value function and return value and use hookStop()

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.