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()

Can you give an example on how to do it? Thanks

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

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