Add Button For Checking/un-checking Move To

Zplayer

Active Member
Hi,

I was just looking for someone to point me in the right direction. I'm trying to create an MCP button to toggle off the "MoveTo" option in the Ogre Settings Tab. I seem to continually turn my Move To on and off depending on the fight. I recall somewhere that I need to examine the XML for this option and use that in the command or script, but can't find where I saw that. Any tips would be appreciated.

Thanks
 

Sunomi

Senior Member
You can try this because I'm too lazy to test it myself.

Make an MCP button with the following:

Select Command: ChangeOgreBotUIOption

Param 1 = All (or whomever)
Param 2 = checkbox_settings_movetoarea (case sensitive)
Param 3 = TRUE (and or FALSE on another button) (case sensitive)
 

Sunomi

Senior Member
So make one button set to TRUE and another set to FALSE and/or make one with TOGGLE instead of TRUE/False and click it to toggle on and/off.
 
Top Bottom